b = (0..23).inject("") do |buffer, hour|
buffer = buffer + hour.to_s
end

puts b