#include <iostream> #include <cmath> int main() { int N; std::cin >> N; std::cout << std::pow(2, N) << std::endl; return 0; }