There are a total of 531 third and fourth graders attending an elementary school in Seoul. There are 31 more 4th graders than 3rd graders, and 22 fewer 3rd grade girls than 3rd grade boys. Among the boys attending this school, find how many are in the third grade.
531 31 [OP_SUB] 2 [OP_DIV] 22 [OP_SUB] 2 [OP_DIV] 22 [OP_ADD]
var_a = 531
var_b = 31
var_c = var_a - var_b
var_d = 2
var_e = var_c / var_d
var_f = 22
var_g = var_e - var_f
var_h = 2
var_i = var_g / var_h
var_j = 22
var_k = var_i + var_j
print(int(var_k))