You are given an array \(A\) of size \(N\). You must perform \(Q\) queries on it. There are two types of queries:
Input format
Output format
For each query of the second type, print a line containing Yes or No.
Constraints
\(N,\ Q \le 4 \times 10^5\)
For a test set worth 30 points, it holds that \(N,\ Q \le 10^3\).
All the numbers initially and after each update, are between 1 and \(4\times 10^5\).
For the first query, the polynomial p(x) = x is a valid option.
For the second query, there is no answer, as we would need to have 1 = p(1) = 2