int main()
{
    int n =0;
    scanf("%d",&n);
    int a = 1;
    a <<= n;
    printf ("%d",a);
    return 0;
}