Buggy python submission (verdict: Runtime Error):
N = int(input())
 
ans = [0 for _ in range(10050)]
for x in range(1,int(N**0.5)):
  for y in range(1,int(N**0.5)):
    for z in range(1,int(N**0.5)):
      n = x**2 + y**2 + z**2 + x*y + y*z + z*x
      ans[n] += 1

for i in range(N):
  print(ans[i+1])

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Runtime Error):
N = int(input())
 
ans = [0 for _ in range(10050)]
for x in range(1,int(N**0.5)):
  for y in range(1,int(N**0.5)):
    for z in range(1,int(N**0.5)):
      n = x**2 + y**2 + z**2 + x*y + y*z + z*x;
      ans[n] += 1

for i in range(N):
  print(ans[i+1])

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Runtime Error):
N = int(input())
 
ans = [0 for _ in range(10050)]
for x in range(1,int(N**0.5)):
    for y in range(1,int(N**0.5)):
        for z in range(1,int(N**0.5)):
            n = x**2 + y**2 + z**2 + x*y + y*z + z*x
            ans[n] += 1
 
for i in range(N):
    print(ans[i+1])

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Runtime Error):
N = int(input())

ans = [0 for _ in range(10050)]
for x in range(1,int(N**0.5)):
    for y in range(1,int(N**0.5)):
        for z in range(1,int(N**0.5)):
            n = x**2 + y**2 + z**2 + x*y + y*z + z*x;
            ans[n] += 1

for i in range(N):
    print(ans[i+1])

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Runtime Error):
N = int(input())

ans = [0 for _ in range(10050)]
for x in range(1,int(N**0.5)):
    for y in range(1,int(N**0.5)):
        for z in range(1,int(N**0.5)):
            n = x**2 + y**2 + z**2 + x*y + y*z + z*x
            ans[n] += 1

for i in range(N):
    print(ans[i+1])

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Runtime Error):
N = int(input())

ans = [0 for _ in range(10050)]
for x in range(1,int(N**0.5)+1):
    for y in range(1,int(N**0.5)+1):
        for z in range(1,int(N**0.5)+1):
            n = x**2 + y**2 + z**2 + x*y + y*z + z*x
            ans[n] += 1

for i in range(N):
    print(ans[i+1])

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())

def count_n(n):
    ans = 0
    for x in range(1,int(N**0.5)):
        if 6*x**2 == n:
            ans = 1
            return ans
        else:
            for y in range(1,int(N**0.5)):
                    if (3*x**2 + y**2 + 2*x*y)  == n:
                        ans = 3
                        return ans
    return ans

for i in range(1,N+1):
    print(count_n(i))

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())

def count_n(n):
    ans = 0
    for x in range(1,int(N**0.5)+1):
        if 6*x**2 == n:
            ans = 1
            return ans
        else:
            for y in range(1,int(N**0.5)+1):
                    if (3*x**2 + y**2 + 2*x*y)  == n:
                        ans += 3
                        return ans
    return ans

for i in range(1,N+1):
    print(count_n(i))

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())

def count_n(n):
    ans = 0
    for x in range(1,int(N**0.5)+1):
        if 6*x**2 == n:
            ans = 1
            return ans
        for y in range(1,int(N**0.5)+1):
                if (3*x**2 + y**2 + 2*x*y)  == n:
                    ans += 3
                    return ans
    return ans

for i in range(1,N+1):
    print(count_n(i))

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())

def count_n(n):
    ans = 0
    for x in range(1,int(N**0.5)+1):
        if 6*x**2 == n:
            ans = 1
            return ans
        for y in range(1,int(N**0.5)+1):
                if (3*x**2 + y**2 + 2*x*y)  == n:
                    ans += 3
    return ans

for i in range(1,N+1):
    print(count_n(i))

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())

def count_n(n):
    ans = 0
    for x in range(1,int(N**0.5)+1):
        for y in range(1,int(N**0.5)+1):
            for z in range(1,int(N**0.5)+1):
                if x**2 + y**2 + z**2 + x*y + y*z + z*x == n:
                    ans += 1
    return ans

for i in range(1,N+1):
    print(count_n(i))

Fixed submission:
n = int(input())
a = [0]*(n+1)
for i in range(1, 102):
    for j in range(1, 102):
        for k in range(1, 102):
            if (i*i + j*j + k*k + i*j + j*k + i*k) <= n:
                a[i*i + j*j + k*k + i*j + j*k + i*k] +=1
                
for x in a[1:]:
    print(x)