When Young-soo held the puppy and weighed it, it was 31 kilograms (kg), and when Ga-young held the same puppy and weighed it, it was 27 kilograms (kg) and 350 grams (g). If the weight of the dog is 1 kilogram (kg) and 400 grams (g), how many kilograms (kg) is the sum of the weights of Youngsoo, Gayoung, and the dog?
31 27 350 1000 [OP_DIV] [OP_ADD] [OP_ADD] 1 400 1000 [OP_DIV] [OP_ADD] [OP_SUB]
var_a = 31
var_b = 27
var_c = 350
var_d = 1000
var_e = var_c / var_d
var_f = var_b + var_e
var_g = var_a + var_f
var_h = 1
var_i = 400
var_j = 1000
var_k = var_i / var_j
var_l = var_h + var_k
var_m = var_g - var_l
print('{:.2f}'.format(round(var_m+1e-10,2)))