#include using namespace std; int main() { long long N; cin >> N; long long ans = 0; long long cnt = 1; for(int i = N-1; i >= 0; i -= 2) { ans += cnt; cnt++; } cout << ans << endl; }