import java.util.Scanner; public class Aba{ public static void main(String[] arg){ Scanner sc = new Scanner(System.in); int n; long res = 0; n = sc.nextInt(); while(n > 1){ res += n-2; n -= 2; } System.out.println(res); } }