Created
April 24, 2019 14:12
-
-
Save lawrencefmm/b16717047a59c6c50a00694ffd394374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t = int(input()) | |
for i in range(t): | |
n = int(input()) | |
if n % 2: | |
print(1) | |
else: | |
print(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment