#include<bits/stdc++.h> using namespace std; long long he=1; void pd(int s1){ long long bz=s1/2; for(int i=1;i<=bz;i++){ pd(i); he++; } } int main() { int n; cin>>n; pd(n); cout<<he; return 0; }