def f(n):\x0d x=[1,1]\x0d for i in range(n-2):x+=[x[i]+x[i+1]]\x0d return x\x0d g=raw_input;g()\x0d for k in range(10):print sum(map(lambda x:x**2,f(int(g()))))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page