In the addition of two-digit numbers, the units digit of added number was originally 5 but was mistaken as 8. Also, when the number 7 in the tens place of the number being added was mistakenly calculated as 4, the calculated value was 111. Find the result of the correct calculation.
111 1 5 8 [OP_SUB] [OP_MUL] [OP_ADD] 10 7 4 [OP_SUB] [OP_MUL] [OP_ADD]
var_a = 111
var_b = 1
var_c = 5
var_d = 8
var_e = var_c - var_d
var_f = var_b * var_e
var_g = var_a + var_f
var_h = 10
var_i = 7
var_j = 4
var_k = var_i - var_j
var_l = var_h * var_k
var_m = var_g + var_l
print(int(var_m))