You weighed the bag at the airport and it was 35 kilograms (kg) and 500 grams (g). After that, if you take out a laptop weighing 1 kg (kg) and 750 grams (g) from the bag and there is another bag weighing 27 kilograms (kg) and 200 grams (g), what is the total weight of the bags in kilograms (kg)?
35 500 1000 [OP_DIV] [OP_ADD] 1 750 1000 [OP_DIV] [OP_ADD] [OP_SUB] 27 200 1000 [OP_DIV] [OP_ADD] [OP_ADD]
var_a = 35
var_b = 500
var_c = 1000
var_d = var_b / var_c
var_e = var_a + var_d
var_f = 1
var_g = 750
var_h = 1000
var_i = var_g / var_h
var_j = var_f + var_i
var_k = var_e - var_j
var_l = 27
var_m = 200
var_n = 1000
var_o = var_m / var_n
var_p = var_l + var_o
var_q = var_k + var_p
print('{:.2f}'.format(round(var_q+1e-10,2)))