using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static void Main(String[] args) { int len = 100001; bool[] prime = new bool[len]; int[] sum = new int[len]; for(int i=2;i