import java.util.Scanner; public class No123 { public static void main(String[]args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int []a=new int[m]; for(int i=0;i0;j--) { b[j]=b[j-1]; } b[0]=t[0]; } System.out.println(b[0]); sc.close(); } }