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