#include <stdio.h>

int main() 
{
    int n = 0;
    scanf("%d",&n);
    int m = pow(2,n);   //pow(a,b)等于a的b次方
    printf("%d",m);
    return 0;
}