import java.io.BufferedInputStream; import java.util.*; public class Main { public static void main(String[] argv){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long k = n / 2 +1; System.out.println(k*(k+1)/2); } }