import java.util.Scanner; public class N111 { public static void main(String[] args) { Scanner sca = new Scanner(System.in); long L = sca.nextLong(); L = (L - 1) / 2; System.out.println(L * L); } }