Create an algorithm in Python to separate numbers below 10 and above 5.
array = [4, 7, 10, 8, 12, 6]
below_ten = [] # Separated numbers
above_five = [] # Separated numbers

# Iterate over array
for n in array:
    if n > 5:
        above_five.append(n)
    else:
        below_ten.append(n)

# Print results
print("Below 10: ", below_ten)
print("Above 5: ", above_five)