// // Created by liuhuan on 18-10-29. // #include using namespace std; int main() { int n; while(cin>>n){ long long s=1; while(n>1){ s=(s+1)*2; n--; } cout<