ex1704.rb