improve problem 61 formatting