It’s universally acknowledged that there’re innumerable trees in the campus of HUST.
After planting a new tree in (3,2), its size is 2.
The first line is an integer Nas described above.
Then following N lines, each line contains two integer Xi and Yi, indicating a new tree is planted at (Xi,Yi).
Output N lines, each line a integer indicating the total size of supercalifragilisticexpialidocious areas after each operation.