import java.util.*; public class test { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); /* *3 1aba 1(aba) *5 2 4ababa 2(aba)1(bab)1(ababa) *7 3 9abababa 3(aba)2(bab)2(ababa)1(babab)1(abababa) *9 4 16ababababa 4(aba)3(bab)3(ababa)2(babab)2(abababa)1(bababab)1(abababab) */ long b = (a-1) / 2; long ans = b * b; System.out.println(b); System.out.println(ans); } }