import sequtils, strutils let read* = iterator: string {.closure.} = while true: (for s in stdin.readLine.split: yield s) template input*(T: static[typedesc]): untyped = when T is int: read().parseInt elif T is float: read().parseFloat elif T is string: read() let N = input(int) let P: seq[tuple[x: int, y: int]] = newSeqWith(N, (input(int), input(int))) var res = 0 for a in -200 .. 200: for b in -200 .. 200: var cnt = 0 for (x, y) in P: if y == a * x + b: cnt += 1 res = max(res, cnt) echo res