from numpy import*
f=lambda n,t,s:[poly1d(append(random.randint(0,251,t-1),s))(i+1)%251for i in range(n)]
print(f(6,3,230))