n=input("n = ");
S=0;
for k=2:n
    S=S+1/k^2;
end;
disp(S);