Change the format for problem 41