#include int main(){ long long l; scanf("%lld",&l); l=(l-1)/2; if (l<=0) printf("1"); else printf("%lld",l*(l+1)/2+l*(l-1)/2); return 0; }