print("Juego de multiplos Mágicos")
try:
numero = int(input("ingrese un número entero: "))
magico = numero % 3 == 0 and numero % 5 == 0
if magico:
print("Número máagico")
elif numero % 3 == 0:
print("Número divisible por 3")
elif numero % 5 == 0:
print("Número divisible por 5")
else:
print("No es número mágico")
except Exception as e:
print(f"Ocurrio un error inesperado, {e}")