# Semigroup = non-empty set with an associative binary operation

# using addition
print((2 + 3) + 4 == 2 + (3 + 4) == 9)

# We get a property of closure, because the number we get is still a number of the same set,
# natural numbers, including 0

# (2 + 3) + 4
# 2 + (3 + 4)
# 9

# Semigroup = non-empty set with an associative binary operation

# using addition
print((2 + 3) + 4 == 2 + (3 + 4) == 9)

# We get a property of closure, because the number we get is still a number of the same set,
# natural numbers, including 0

# (2 + 3) + 4
# 2 + (3 + 4)
# 9

# Semigroup = non-empty set with an associative binary operation # using addition # We get a property of closure, because the number we get is still a number of the same set, # natural numbers, including 0 # (2 + 3) + 4 # 2 + (3 + 4) # 9