#include<iostream> using namespace std; int n,t=1;//为什么一定要赋值为1,才能过 int main(){ cin>>n; for(int i=1;i<n;i++){ t+=1; t*=2; } cout<<t<<endl; return 0; }