:ok_hand: Problem 97

ruby p97.rb  0.03s user 0.01s system 94% cpu 0.038 total