import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static long[] primes = new long[10000]; static long longestSequence(long[] a) { int sum =1; init(); for(int i=0; i