LearnPy Hub
← Arena
IntermediateRating 1450

Most Points on a Line

Print the largest number of the given points that lie on one straight line.

Input

n (n ≤ 300), then n lines 'x y' (points are different).

Output

One integer.

Sample 1

Input
3
1 1
2 2
3 3
Output
3

Sample 2

Input
6
1 1
3 2
5 3
4 1
2 3
1 4
Output
4
solution.py
Output appears here
Most Points on a Line · Python Arena problem · LearnPy Hub