20 lines
219 B
C++
20 lines
219 B
C++
#include <bits/stdc++.h>
|
|
#define endl '\n'
|
|
using namespace std;
|
|
|
|
int n;
|
|
int arr[100100];
|
|
|
|
int main(){
|
|
cin >> n;
|
|
long long cnt = 1;
|
|
|
|
for(int i = 1; i <= n; i++){
|
|
cnt = cnt * 2;
|
|
}
|
|
|
|
cout << cnt - 1;
|
|
return 0;
|
|
}
|
|
|