Quick solution to /r/dailyprogrammer challenge #119