solved 11 ruby