12 ruby solved