All problems

Customizing Scatter Appearance With plot_kws

mediumPythonSeabornplot_kws

Thornbury Labs runs enough samples that the points in each panel of its grid overlap into a solid blob. The lab's fix is to make every point part-transparent and smaller, so dense regions read as darker rather than as filled-in. The caption states how many points each panel is drawing, so readers know whether the darkness means ten samples or ten thousand.

Task: Print how many points appear in one panel of the grid.

Input

The first line holds one integer n, the number of samples, where 1 <= n <= 1000. Then come n lines, each holding a sample's a and b separated by a single space.

Output

One line holding a whole number, with no decimal point: how many points a single panel draws. Every sample becomes its own point, including two samples that happen to have measured the same thing.

Example:

Input:
5
1 2
3 4
5 6
7 8
9 10

Output:
5

Sign in to solve this problem

Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.

Sign in

Discussion

Sign in to join the discussion — reading is open to everyone.

Loading comments…