exercise3.rb

a