There are a total of 24 students with and without after-school activities. Of these, 50 candies were distributed equally only to students doing after-school activities, leaving 2 candies. When students who do after-school activities are twice as many students who do not do after-school activities, how many candies do students who do after-school activities 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))