# frozen_string_literal: true def solve (0..(N / 2)).map { |a| (a + 1) * ((N - a) + 1) }.max - 1 end N = gets.to_i puts solve