import strutils, tables var N = stdin.readline.parseInt counter = initCountTable[string](16) for _ in 0..