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

ans = [0 for _ in range(10000)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + z*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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


Fixed submission:
n = int(input())

ans = [0 for _ in range(10001)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + x*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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

Buggy python submission (verdict: Runtime Error):
import sys
import numpy as np
import numba
from numba import njit
i8 = numba.int64

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

@njit((), cache=True)
def main(n):
    for s in range(1, n+1):
        ans = 0
        for i in range(1, 101):
            for j in range(1, 101):
                for k in range(1, 101):
                    if i*i + j*j + k*k + i*j + j*k + k*i == s:
                        ans += 1
        print(ans)
        ans = 0


n = int(read())
main(n)


Fixed submission:
n = int(input())

ans = [0 for _ in range(10001)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + x*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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

Buggy python submission (verdict: Time Limit Exceeded):
import sys
import numpy as np
import numba
from numba import njit
i8 = numba.int64

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

@njit((i8, ), cache=True)
def main(n):
    for s in range(1, n+1):
        ans = 0
        for i in range(1, 101):
            for j in range(1, 101):
                for k in range(1, 101):
                    if i*i + j*j + k*k + i*j + j*k + k*i == s:
                        ans += 1
        print(ans)
        ans = 0


n = int(read())
main(n)


Fixed submission:
n = int(input())

ans = [0 for _ in range(10001)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + x*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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

Buggy python submission (verdict: Time Limit Exceeded):
import sys
 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
 
def main(n):
  for s in range(1, n+1):
    ans = 0
    for i in range(1, 101):
        for j in range(1, 101):
            for k in range(1, 101):
                if i*i + j*j + k*k + i*j + j*k + k*i == s:
                    ans += 1
    print(ans)
    ans = 0
 
if sys.argv[-1] == 'ONLINE_JUDGE':
    import numba
    from numba.pycc import CC
    i8 = numba.int64
    cc = CC('my_module')
 
    def cc_export(f, signature):
        cc.export(f.__name__, signature)(f)
        return numba.njit(f)
 
    main = cc_export(main, (i8, ))
    cc.compile()
 
from my_module import main
 
N = int(read())
main(N)

Fixed submission:
n = int(input())

ans = [0 for _ in range(10001)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + x*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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

Buggy python submission (verdict: Runtime Error):
import sys


def solve(n):
  for s in range(1, n+1):
      ans = 0
      for i in range(1, 101):
          for j in range(1, 101):
              for k in range(1, 101):
                  if i*i + j*j + k*k + i*j + j*k + k*i == s:
                      if i == j == k:
                          ans += 1
                      elif i == j != k or j == k != i or k == i != j:
                          ans += 3
                      elif i != j != k:
                          ans += 6
                      break
              else:
                  continue
              break
          else:
              continue
          break
      print(ans)
      ans = 0


def main():
    n = int(input())
    solve(n)


def cc_export():
    from numba.pycc import CC
    cc = CC('my_module')
    cc.export('solve', '(i8,i8)')(solve)
    cc.compile()

if __name__ == '__main__':
    try:
        from my_module import solve
    except:
        cc_export()
        exit(0)
    main()

Fixed submission:
n = int(input())

ans = [0 for _ in range(10001)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + x*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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

Buggy python submission (verdict: Runtime Error):
import sys


def solve(n):
  for s in range(1, n+1):
      ans = 0
      for i in range(1, 101):
          for j in range(1, 101):
              for k in range(1, 101):
                  if i*i + j*j + k*k + i*j + j*k + k*i == s:
                      if i == j == k:
                          ans += 1
                      elif i == j != k or j == k != i or k == i != j:
                          ans += 3
                      elif i != j != k:
                          ans += 6
                      break
              else:
                  continue
              break
          else:
              continue
          break
      print(ans)
      ans = 0


def main():
    n = int(input())
    solve(n)


def cc_export():
    from numba.pycc import CC
    cc = CC('my_module')
    cc.export('solve', '(i8,i8)')(solve)
    cc.compile()

if __name__ == '__main__':
    try:
        from my_module import solve
    except:
        cc_export()
        exit(0)
    main()

Fixed submission:
n = int(input())

ans = [0 for _ in range(10001)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + x*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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

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

for s in range(1, n+1):
    ans = 0
    for i in range(1, 101):
        for j in range(1, 101):
            for k in range(1, 101):
                if i*i + j*j + k*k + i*j + j*k + k*i == s:
                    if i == j == k:
                        ans += 1
                    elif i == j != k or j == k != i or k == i != j:
                        ans += 3
                    elif i != j != k:
                        ans += 6
                    break
            else:
                continue
            break
        else:
            continue
        break
    print(ans)
    ans = 0


Fixed submission:
n = int(input())

ans = [0 for _ in range(10001)]

for x in range(1, 101):
    for y in range(1, 101):
        for z in range(1, 101):
            s = x*x + y*y + z*z + x*y + y*z + z*x
            if s <= 10000:
                ans[s] += 1

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