Challenge #125 from r/dailyprogrammer