import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static long longestSequence(long[] a) { long result = 0 ; //finding the highest power of 2 that divides no. for (int l=0;l