When three 18 centimeters (cm) long colored tapes were overlapped and attached at the same length, it became 50.5 centimeters (cm) long. Find the answer by how many centimeters (cm) were overlapped and connected.
18 3 [OP_MUL] 50.5 [OP_SUB] 3 1 [OP_SUB] [OP_DIV]
var_a = 18
var_b = 3
var_c = var_a * var_b
var_d = 50.5
var_e = var_c - var_d
var_f = 3
var_g = 1
var_h = var_f - var_g
var_i = var_e / var_h
print('{:.2f}'.format(round(var_i+1e-10,2)))