package Main; import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { int count =0; ArrayList al=new ArrayList(); ArrayList wa=new ArrayList(); Scanner kb=new Scanner(System.in); int n=kb.nextInt(); int x=kb.nextInt(); for(int i=0;i