以下のコードの実行結果はどうなりますか? ```ruby prices = [100, 200, 300] total = 0 prices.each do |price| total += price end puts total ```