#include <stdio.h> int main() { int x; scanf("%d",&x); int n=1; int y=2; while (n<x){ y*=2; n++; } printf("%d",y); return 0; }