001 ruby
give answer in comment for ruby solutions
002 ruby