import Foundation let n = Int(readLine()!)! var l = [Int]() for i in 0...n{ for j in 0...n{ l += [] l += [Int(pow(2.0, Double(i)) * pow(5.0, Double(j)))] } } for i in Set(l).sorted(by: <){ print(i) }