#!/usr/bin/env ruby
answer =loopdo
print "Does the song contain guitars? [y/n] "
answer = gets.chomp
break answer if%w( y n ).include?(answer)
puts "Please answer 'y' or 'n'."endif answer =='y'
puts "This song is not trance! Hooray!"else
puts "This song is trance. Eww."end