Problem 49 is a little bit more readable