There are red balls and blue balls in the box with blue balls being 17 more than the red balls. Minsu put in 57 blue balls and 18 red balls and subtracted 44 balls. When you checked the inside of the box and there were 502 balls in total, find the number of blue balls that were in the box at the beginning.
502 18 57 [OP_ADD] 44 [OP_SUB] [OP_SUB] 17 [OP_ADD] 2 [OP_DIV]
var_a = 502
var_b = 18
var_c = 57
var_d = var_b + var_c
var_e = 44
var_f = var_d - var_e
var_g = var_a - var_f
var_h = 17
var_i = var_g + var_h
var_j = 2
var_k = var_i / var_j
print(int(var_k))