I am getting NZEC runtime error, please help me for this following code:
ch1 = input("")
ch = int(ch1[:1])
while (ch > 0):
kk = input("")
inp = kk[:3]
a, b = [int(i) for i in inp.split(' ')]
x = a**a
y = str(x)
x1 = y[:b]
x2 = y[-b:]
print x1, x2
ch = ch - 1