#include <iostream>
#include<cmath>
using namespace std;

int main() {
    int n;
    cin>>n;
    int num=pow(2,n);
    cout<<num<<endl;
}