// 制約の確認 import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.HashMap; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { new Main().run(); } void run() { FastScanner sc=new FastScanner(); int N=sc.nextInt(); int X=sc.nextInt(); HashMap map=new HashMap<>(); long ans=0; for (int i=0;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }