#include<bits/stdc++.h>
using namespace std;
int main(){
int z=1,n,s=1;
cin>>n;
while(z<=n){
s=s+z;
z=z+2;
}
cout<<s-1;
}
/**************************************************************
Problem: 1003
User: zhengzihao3
Language: C++
Result: Accepted
Time:18 ms
Memory:2072 kb
****************************************************************/