You are given an array of size . You must perform 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
For a test set worth 30 points, it holds that .
All the numbers initially and after each update, are between 1 and .
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