#include using namespace std; #define LL long long int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); LL n; cin >> n; cout << n * n / 4 + n << endl; return 0; }