#include<stdio.h>
int main(void)
{
    int n;
    scanf("%d",&n);
    printf("%d",1<<n);//注意n的范围是从0-31
    return 0;
}