#include<stdio.h>
#include<math.h>
int main(){
    double n;
    while(scanf("%lf",&n)!=EOF){
        printf("%ld\n",(long)pow(2,n));
    }
    return 0;
}