#include <bits/stdc++.h> ? using namespace std; int main() { int a; int b=1; cin>>a; for(int i=1;i<=a-1;i++){ b=(b+1)*2; } cout<<b; return 0; }