시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 256 MB258572459131.486%

## 문제

B를 A로 나누었을 때 나머지가 0 이라면 A는 B의 약수라고 할 수 있다. (A > 0, B > 0) 예를 들면 15 의 약수는 1, 3, 5, 15 이다.

주어진 수가 가지는 약수 개수가 홀수인지 짝수인지 판별해보자.

## 입력

첫 번째 줄에는 전체 테스트 개수 (N) 가 주어진다. (1 ≤ N ≤ 100)

두 번째 줄에는 약수 개수를 판별할 수 (X) 가 주어진다 (1 ≤ X ≤ 1018).

## 출력

주어진 수의 약수 개수가 홀수이면 1, 짝수이면 0 을 출력하시오.

## 예제 입력 1

2
4 5


## 예제 출력 1

1 0

W3sicHJvYmxlbV9pZCI6IjExODE1IiwicHJvYmxlbV9sYW5nIjoiMCIsInRpdGxlIjoiXHVjOWRkXHVjMjE4PyBcdWQ2NDBcdWMyMTg/IiwiZGVzY3JpcHRpb24iOiI8cD5CXHViOTdjJm5ic3A7QVx1Yjg1YyBcdWIwOThcdWIyMDRcdWM1YzhcdWM3NDQgXHViNTRjIFx1YjA5OFx1YmEzOFx1YzljMFx1YWMwMCAwIFx1Yzc3NFx1Yjc3Y1x1YmE3NCBBXHViMjk0IEJcdWM3NTggXHVjNTdkXHVjMjE4XHViNzdjXHVhY2UwIFx1ZDU2MCBcdWMyMTggXHVjNzg4XHViMmU0LiAoQSAmZ3Q7IDAsIEIgJmd0OyAwKSBcdWM2MDhcdWI5N2MgXHViNGU0XHViYTc0Jm5ic3A7MTUgXHVjNzU4IFx1YzU3ZFx1YzIxOFx1YjI5NCZuYnNwOzEsIDMsIDUsIDE1IFx1Yzc3NFx1YjJlNC48XC9wPlxyXG5cclxuPHA+XHVjOGZjXHVjNWI0XHVjOWM0IFx1YzIxOFx1YWMwMCBcdWFjMDBcdWM5YzBcdWIyOTQgXHVjNTdkXHVjMjE4IFx1YWMxY1x1YzIxOFx1YWMwMCBcdWQ2NDBcdWMyMThcdWM3NzhcdWM5YzAgXHVjOWRkXHVjMjE4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