You want to hand out 269 pens each of which costs 150 won to 29 students equally. If you have to buy the lacking pens, find how much money you need.
29 269 29 [OP_MOD] [OP_SUB] 150 [OP_MUL]
var_a = 29
var_b = 269
var_c = 29
var_d = var_b % var_c
var_e = var_a - var_d
var_f = 150
var_g = var_e * var_f
print(int(var_g))