input;while(1,print(sum(i=1,input,fibonacci(i)^2)))