SP10069 KOMPICI - Kompići

Description

After successfully solving his math homework from the previous task, Mirko has become bored, so he

Input Format

The first line of input contains the positive integer N (1

Output Format

The first and only line of output must contain the number of pairs that are pals.