Условие:

105050;
20000 + 800;
35840840.

105050 = 1000;
20000 + 800 = 20800;
35840840 = 35000.