package no206; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { static IO io = new IO(); static final int MAX = 2 * 100000 / 64 + 5; public static void main(String[] args) { int l = io.nextInt(); int m = io.nextInt(); int n = io.nextInt(); long[] a = new long[MAX]; long[] b = new long[MAX]; for(int i=0;i>> 63; a[i] = (a[i] << 1) | e; e = ne; } } public static int andBitCount(long[] a,long[] b) { int count = 0; for(int i=0;i Integer.MAX_VALUE) { throw new NumberFormatException(); } return (int) nl; } public char nextChar() { if (!hasNext()) { throw new NoSuchElementException(); } return (char) readByte(); } public double nextDouble() { return Double.parseDouble(next());} public int[] nextIntArray(int n) { int[] a = new int[n]; for(int i=0;i