My issue
i am getting the judge error
My code
topi = int(input())
for i in range(topi):
n = int(input())
if n == 1:
print(3, 2)
elif n % 2 == 0:
print(2 * n, n)
else:
for j in range(3, n + 1):
if n % j == 0:
print(n * j, n * (j - 1))
break
Learning course: 2000 to 2500 difficulty problems
Problem Link: Interesting Representation Practice Problem in 2000 to 2500 difficulty problems - CodeChef
