Problem 050
Problem 047