#include "bits/stdc++.h" using namespace std; #define FOR(i,j,k) for(int (i)=(j);(i)<(int)(k);++(i)) #define rep(i,j) FOR(i,0,j) #define each(x,y) for(auto &(x):(y)) #define mp make_pair #define mt make_tuple #define all(x) (x).begin(),(x).end() #define debug(x) cout<<#x<<": "<<(x)< pii; typedef vector vi; typedef vector vll; vector> combinations(int n, int mod) { auto res = vector>(n + 1, vector(n + 1)); rep(i, n + 1) res[i][0] = 1; for (int i = 1; i <= n; ++i) for (int j = 1; j <= i; ++j) res[i][j] = (res[i - 1][j - 1] + res[i - 1][j]) % mod; return res; } void test() { auto C = combinations(100, 2); rep(i, 100) { int cnt = 0; rep(j, i + 1)cnt += !C[i][j]; cout << cnt << ','; } cout << endl; } ll A000120(ll x) { if (x == 0)return 0; if (x % 2 == 0)return A000120(x / 2); return A000120(x / 2 - 1) + 1; } int bitcntll(unsigned long long x) { x = (x & 0x5555555555555555) + ((x >> 1) & 0x5555555555555555); x = (x & 0x3333333333333333) + ((x >> 2) & 0x3333333333333333); x = (x & 0x0f0f0f0f0f0f0f0f) + ((x >> 4) & 0x0f0f0f0f0f0f0f0f); x = (x & 0x00ff00ff00ff00ff) + ((x >> 8) & 0x00ff00ff00ff00ff); x = (x & 0x0000ffff0000ffff) + ((x >> 16) & 0x0000ffff0000ffff); x = (x & 0x00000000ffffffff) + ((x >> 32) & 0x00000000ffffffff); return (int)x; } int main(){ ios::sync_with_stdio(false); cin.tie(0); // test(); ll N; cin >> N; cout << N + 1 - (1ll<