Assume the sorted dataset is {d1,d2,d3,d4,d5}
The given information about the mean indicates the SUM d1+d2+d3+d4+d5 is 5*70 or 350.
The median is the middle number (or average of the two numbers on either side of the "middle" for datasets with an even number of elements). The data elements must first be sorted (e.g. lowest to highest) when finding the median.
For the problem at hand, clearly, you can not have a median of 346 because thenand even setting d1=d2=1 (the minimum possible values) would result in a sum of 1040. (1040/5 = 208, and 208 > 70).
What about 116? Would that work?
For a potential median of 116, if d3=d4=d5=116, you have { d1, d2, 116, 116,116}
and since 3*116 = 348, you can set d1=d2=1 and get the desired sum. So the maximum median is 116. In this case, the dataset would be {1,1,116,116,116}