import java.util.Comparator; import java.util.LinkedList; import java.util.Scanner; public class Main{ private static Scanner sc=new Scanner(System.in); public static void main(String args[])throws Exception{ int height=sc.nextInt(),n=sc.nextInt(); LinkedListqueue=new LinkedList(); queue.offer(height); for(int i=0;i