adding problem 51