There are 24 students in the 5th and 6th grades together. Of these, 50 cherries were distributed equally to the 5th graders only, leaving 2 cherries. If the number of 6th graders is half the number of 5th graders, how many cherries did the 5th graders get?
50 2 [OP_SUB] 24 2 1 [OP_ADD] [OP_FDIV] [OP_FDIV]
var_a = 50
var_b = 2
var_c = var_a - var_b
var_d = 24
var_e = 2
var_f = 1
var_g = var_e + var_f
var_h = var_d // var_g
var_i = var_c // var_h
print(int(var_i))