D = gets.to_i q, r = D.divmod(4) s = q ** 2 s += q if r >= 2 puts s