Seon-mi spends 1/2 of her money at the first store, 1/3 of her remaining money at the second store, and 1/2 of her remaining money at the third store, leaving her with 250 won. Find how much money Seon-mi had at first.
250 1 1/2 [OP_SUB] [OP_DIV] 1 1/3 [OP_SUB] [OP_DIV] 1 1/2 [OP_SUB] [OP_DIV]
var_a = 250
var_b = 1
var_c = 0.5
var_d = var_b - var_c
var_e = var_a / var_d
var_f = 1
var_g = 0.3333333333333333
var_h = var_f - var_g
var_i = var_e / var_h
var_j = 1
var_k = 0.5
var_l = var_j - var_k
var_m = var_i / var_l
print(int(eval('{:.2f}'.format(round(var_m+1e-10,2)))))