I used all of the ribbon with a length of 78 centimeters (cm) to make one triangle and one square. If the perimeter of the triangle is 46 centimeters (cm), how many centimeters (cm) is the length of one side of the square?
78 46 [OP_SUB] 4 [OP_DIV]
var_a = 78
var_b = 46
var_c = var_a - var_b
var_d = 4
var_e = var_c / var_d
print(int(var_e))