import java.util.Scanner; class no504{ public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); int n=stdIn.nextInt(),m=stdIn.nextInt(),a,i,c=1; System.out.println("1"); for(i=1;im)c++; System.out.println(c); } } }