#!/usr/bin/env python L = input() n = (L - 1) / 2 print n * (L - 1) - n * n