#include using namespace std; #define LL long long int main(){ LL n; cin >> n; cout << (1 + n / 2)*n - (n / 2)*(n / 2) << endl;; return 0; }