t = int(input())
for _ in range(t):
n = int(input())
if n==1:
print(β(0,1)β)
else:
n = n**(1/2)
m = (n-1)(1/2)
n = int(n)
if m>int(m):
print(β(0,{})β.format(n))
else:
a = int((m2)-1)
b = int(2*m)
if a>b:
a,b=b,a
print(β(0,{})β.format(n),β({},{})β.format(a,b))
This is my code. I canβt figure if there are some cases which arenβt included in my code or if there is some other problem.