Add #34 Ruby solution