The average of three distinct real numbers is $28$. If the smallest number is increased by $7$ and the largest number is reduced by $10$, the order of the numbers remains unchanged, and the new arithmetic mean becomes $2$ more than the middle number, while the difference between the largest and the smallest numbers becomes $64$. Then, the largest number in the original set of three numbers is