numeroEntero = int(input("Ingrese un número entero: "))
if numeroEntero % 3 == 0 and numeroEntero % 5 == 0:
print("¡Número mágico!")
elif numeroEntero % 3 == 0:
print("Divisible por 3")
elif numeroEntero % 5 == 0:
print("Divisible por 5")
else:
print("No es un número mágico")