# list0103.rb
# while による繰り返し文

a = ["toyota","honda","nissan","mitsubishi","mazda"]
while a != []
  puts a.pop
end