import java.util.*; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { int l = sc.nextInt(); System.out.println((long)Math.pow((l-1)/2,2)); } }