For this Question: Given an integer, your task is to check whether the given integer is even or odd.
If the integer is even print 0 else if it is odd print 1.The input contains a single integer N.

Constraint:
1 &le; N &le;10000If the integer is even print 0 else if it is odd print 1.Sample Input:-
15

Sample Output:-
1

Sample Input:-
16

Sample Output:-
0, I have written this Solution Code: inp = int(input())

if inp % 2 == 0 :
    print(0)
else:
    print(1), In this Programming Language: Python, Now tell me if this Code is compilable or not?