<filename>ACM-Solution/sumup.py
exec('n=int(input());print("%.5f"%(.5-.5/(n*n+n+1)));'*int(input()))

<filename>ACM-Solution/sumup.py
exec('n=int(input());print("%.5f"%(.5-.5/(n*n+n+1)));'*int(input()))
