import java.io.*; import java.util.*; class Main { public static void main(String[] args) { int n = sc.nextInt(); HashSet set = new HashSet<>(); HashSet set2 = new HashSet<>(); for (int i=0; i=2&&n==0)throw new NumberFormatException(); return neg?-n:n; } double nextDouble(){return Double.parseDouble(next());} String[]nextStrings(int n){ String[]s=new String[n]; for(int i=0;ia[i])low=a[i];} return a; } Integer[]nextIntegers(int n){ Integer[]a=new Integer[n]; for(int i=0;ia[i])low=a[i];} return a; } int[]nextSortedInts(int n){ int[]a=nextInts(n);Arrays.sort(a);return a; } Integer[]nextSortedIntegers(int n){ Integer[]a=nextIntegers(n);Arrays.sort(a);return a; } int[]nextIntSum(int n){ int[]a=new int[n];a[0]=nextInt(); for(int i=1;ia[i])low=a[i];} return a; } Long[]nextLongs(int n){ Long[]a=new Long[n]; for(int i=0;ia[i])low=a[i];} return a; } long[]nextSortedlongs(int n){ long[]a=nextlongs(n);Arrays.sort(a);return a; } Long[]nextSortedLongs(int n){ Long[]a=nextLongs(n);Arrays.sort(a);return a; } long[]nextlongSum(int n){ long[]a=new long[n];a[0]=nextLong(); for(int i=1;i