#include <stdio.h>

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