There are N circles on the x-axis. Every center lies on the x-axis, and no two circles cross each other. They may touch.
Write a program that counts how many regions the circles cut the plane into.
A region is a set of points, and any two points in it can be joined by a continuous curve that never meets a circle. The unbounded part outside every circle counts as one region.

The first line contains the number of circles N (1≤N≤300000).
Each of the next N lines contains one circle as two integers xi and ri. xi is the x coordinate of the center and ri is the radius. (−109≤xi≤109, 1≤ri≤109)
No circle is given twice.
Print the number of regions the circles make.