import matha = int(input())for i in range(a): b = int(input()) if b % 2 == 0: print("NO") elif int(math.sqrt(b)) ** 2 == b: print("YES") else: print("NO")
6 2 3 4 5 998244353 1099511627776
NO NO NO NO NO NO
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!