#include<iostream>
using namespace std;
int main()
{
    int n;
    int t,;
    cin>>n;
    t=(n*n+1)/2;
    cout<<t;
    return 0;
}