import strutils, sequtils let n = parseInt(readLine(stdin)) let a = map(readLine(stdin).split(), parseInt) var answer: int = 1 var tmp: int = 0 while true: tmp = 0 for i in 0..