let N = Int(readLine()!) let L = readLine()!.split(separator: " ").map{Int($0)!} var vote = [0,0,0,0,0,0,0] for i in 1...6{ vote[i] = L.filter{$0 == i}.count } print(vote.lastIndex(of: vote.max()!)!)