It is said that a 30 centimeters (cm) long candle shrinks by 1 centimeter (cm) per minute, and a 20 centimeters (cm) long candle shrinks by 0.5 centimeters (cm) per minute. Find the length of the candle when both candles become equally long.
30 30 20 [OP_SUB] 1 0.5 [OP_SUB] [OP_DIV] [OP_SUB]
var_a = 30
var_b = 30
var_c = 20
var_d = var_b - var_c
var_e = 1
var_f = 0.5
var_g = var_e - var_f
var_h = var_d / var_g
var_i = var_a - var_h
print(int(var_i))