# frozen_string_literal: true def solve return 0 if D <= 3 d = Rational(D, 2).floor l = Rational(d, 2).floor l * (d - l) end D = gets.to_i puts solve