Create answer.rb

running code
http://ideone.com/Eksxwg