#include<bits/stdc++.h>using namespace std;int main(){ int n,ans=0; //ans歸0 cin>>n; for(int i=1;i<=n;i++){ //i=1~n,如果i為奇數,ans+=i if(i%2!=0) ans+=i; } cout<<ans<<endl;}