n=STDIN.gets.to_i a=n/2 b=a-1 puts a*(a+1)/2+b*(b+1)/2