max = 5 (0..max).each do |i| if i / 10 == 0 puts "00#{i}" puts gets.chomp end end