#include #include int main(void) { unsigned int num; scanf("%d",&num); printf("%.0f\n",pow(2, num) + num); return 0; }