a = [1, 2, 3, 4, 5, 6]
x = int(input("请输入想要计算的 x : "))
print(str(a[5]*x**5+a[4]*x**4+a[3]*x**3+a[2]*x**2+a[1]*x+a[0])) #输出多项式