Create a Python program that reads an integer from the console and prints "true" if the number is even, and "false" if the number is odd.
3
num = int(input())
if num % 2 == 0:
    print("true")
else:
    print("false")