import tables const n = 3 var S = initCountTable[string]() for i in 0 ..< n: S.inc readLine(stdin) echo S.largest.key