puts [*0..gets.to_i].repeated_permutation(2).map{|x,y|2**x*5**y}.sort