tri_num = Enumerator.new do |yielder|
number = 0
count = 1
loop do
number = count
count += 1
yielder.yield number
end
end
puts tri_num.next
puts tri_num.next
dHJpX251bSA9IEVudW1lcmF0b3IubmV3IGRvIHx5aWVsZGVyfAogIG51bWJlciA9IDAKICBjb3VudCAgPSAxCiAgbG9vcCBkbwogICAgbnVtYmVyID0gY291bnQKICAgIGNvdW50ICs9IDEKICAgIHlpZWxkZXIueWllbGQgbnVtYmVyCiAgZW5kCmVuZAoKcHV0cyB0cmlfbnVtLm5leHQKcHV0cyB0cmlfbnVtLm5leHQ=