import sequtils, strutils, times var n = readLine(stdin).parseInt t = newSeqWith(n, newSeq[string](2)) ans = 0 for i in 0..