Now you are given two definitions as follows.
$f(x)=\sum_{k=0}^{x}(-1)^{k}2^{2x-2k}C_{2x-k+1}^{k},f_{0}(x)=f(x),f_{n}(x)=f(f_{n-1}(x))(n\geq 1)$
Note that $\varphi(n)$ means Euler’s totient function.($\varphi(n)$is an arithmetic function that counts the positive integers less than or equal to n that are relatively prime to n.)
For each test case, GTW has two positive integers — $n$ and $x$, and he wants to know the value of the function $\varphi(f_{n}(x))$.