#Z16207. Hermite多项式

Hermite多项式

Description

Calculate the value of the Hermite polynomial.

$$h_n(x)=\left\{ \begin{aligned} 1&,&n=0\\ 2x&,&n=1\\ 2xh_{n-1}(x)-2(n-1)h_{n-2}(x)&,& n>1 \end{aligned} \right. $$

For given xx and a positive integer nn, compute the value of the polynomial.

Input Format

Input nn and xx.

Output Format

Output the value of the polynomial, rounded to 2 decimal places.

1 2

4.00

Hint

(n8x8)(n \le 8,x \le 8)