num = int(input("Number: ")) mod = num % 2 if mod == 0: print(f"{num} is even") else: print(f"{num} is odd")