Caught D up to problem 20