import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.NoSuchElementException; public class Main { public static void main(String args[]) { FastScanner scanner = new FastScanner(); int n=scanner.nextInt(); Listd=new ArrayList<>(); Listc=new ArrayList<>(); Listh=new ArrayList<>(); Lists=new ArrayList<>(); for(int i=0;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }