#include <stdio.h>

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