You are going to cut a rectangular wooden board that is 24 centimeters (cm) wide by 18 centimeters (cm) long, without any remaining, to make several pieces of the largest square wooden piece of the same size. How many wooden pieces can you make in all?
24 24 18 [OP_GCD] [OP_FDIV] 18 24 18 [OP_GCD] [OP_FDIV] [OP_MUL]
var_a = 24
var_b = 24
var_c = 18
var_d = math.gcd(int(var_c), int(var_b))
var_e = var_a // var_d
var_f = 18
var_g = 24
var_h = 18
var_i = math.gcd(int(var_h), int(var_g))
var_j = var_f // var_i
var_k = var_e * var_j
print(int(var_k))