# list0104.rb
# for による繰り返し

sum = 0
for i in 1..10
 sum += i
end
puts sum