Условие:

8 * 3 + 16;
536;
35 + (116).

8 * 3 + 16 = 24 + 16 = (20 + 10) + (4 + 6) = 30 + 10 = 40
 
536 = 5333 = 503 = 47
 
35 + (116) = 35 + 5 = 40