#include<iostream> using namespace std; int main() { int n; cin>>n; int N; if(n%2==1){ N=n; } else{ N=n+1; } cout<<(N+1)*(N+1)/4; return 0; }