import strutils, tables let N = stdin.readLine.parseInt var dic = initCountTable[string]() for i in 0 ..< N: dic.inc stdin.readLine echo dic.largest.key.len - 2