solved seventeen ruby