import java.util.Scanner; class Main { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); long p = in.nextLong(); long temp = (long)(Math.pow(2, p)) - 1; String val2 = Long.toBinaryString(temp); long n = val2.length(); int ans = 0; for(int i=0; i