The median is just the middle number in a list. Since we're dealing with consecutive numbers, we can just list the 9 consecutive numbers that have 42 in the middle. If we want to be
really careful, we can start in the middle and work outward until we have 9 numbers:
42
41, 42, 43
40, 41, 42, 43, 44
39, 40, 41, 42, 43, 44, 45
38, 39, 40, 41, 42, 43, 44, 45, 46
What's the largest number in our list? 46.