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