import java.util.Scanner; class no123{ public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); int n,m,a,c[]=new int[50],i,j,t; n=stdIn.nextInt(); m=stdIn.nextInt(); for(i=0;i0;j--) c[j]=c[j-1]; c[0]=t; } System.out.print(c[0]); } }