public class Main {public static void main(String[] args) {System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))));}} public class Main {public static void main(String[] args) {System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))));}} Main public static void main(String[] args) {System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))));} main {System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))));} System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2)))) System.out.println System.out System System.out (int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))) Math.pow Math 2 (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2)) Math.log(new java.util.Scanner(System.in).nextInt()) Math.log Math new java.util.Scanner(System.in).nextInt() new java.util.Scanner(System.in).nextInt new java.util.Scanner(System.in) Math.log(2) Math.log Math 2 String[] args args public class Main {public static void main(String[] args) {System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))));}} public class Main {public static void main(String[] args) {System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))));}} Main
public class Main {public static void main(String[] args) {System.out.println((int)Math.pow(2, (int)(Math.log(new java.util.Scanner(System.in).nextInt())/Math.log(2))));}}