The governor of state A earns $51,085 more than the governor of state B. If the total of their salaries is $293,865, find the salaries of each.
The governor of state A earns $ and the governor of state B earns $