def main():
for i in range(10):
num = int(input("Enter a number: "))
# In an elif chain, order matters. Now we are checking for
# divisibility by four before evenness.
# Now the program says that 8 is divisible by 4 and 6 by 3,
# but it still doesn't tell us that 6 is even.
if num % 5 == 0:
print(num, "is divisible by five.")
elif num % 4 == 0:
print(num, "is divisible by four.")
elif num % 3 == 0:
print(num, "is divisible by three.")
elif num % 2 == 0:
print(num, "is even.")
main()