#include int main(void){ long int a,b,c,d; scanf("%ld",&a); b = (a-1)*(a-1) / 4; printf("%ld\n",b); return 0; }