#Lutece0708. Improper Integral

Improper Integral

Migrated from Lutece 708 Improper Integral

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

In advanced mathematics, Improper integral is a problem that is so hard to solve!But thanks to computer programming, we can solve these problems in the given precision easily. Today, Small Qiang is facing a simple and common improper integral problem, which asks him to determine the cumulative distribution function of normal distribution defined below:

$\phi(x)=F(x;0,1)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{x}e^{-\frac{x^2}{2}}\mathrm dx$

But Small Qiang is busy playing basketball, so he is asking you for help!Please determine ϕ(x)\phi(x) with a given xx.

Input

In the first line, there is one integer TT(T<500T<500).

In the following TT lines, each contains one real number xx (0.0x5.00.0\le x\le 5.0).

Output

For each xx, output a real number ϕ(x)\phi(x) which keeps to five decimal places.

Samples

1
0.0
0.50000

Resources

The 7th BUPT Collegiate Programming Contest