Условие:

31010 − (50003774);
(4000500 : 100) * 10.

31010 − (50003774) = 310101226 = 29784
- 5000 3774 1226
 
- 31010 1226 29784
 
(4000500 : 100) * 10 = (40005) * 10 = 3995 * 10 = 39950