1 1 1
1000000000
2 1
 20 2 15
12698951 55128070 116962690 156763505 188535242 194018601 269939893 428710623 442819431 483000923 516768937 552903993 633087286 656092270 671535141 714291344 717660646 846508634 879748146 937368929
2 7
1 2
2 4
1 19
1 12
1 5
2 18
2 11
1 16
2 1
2 3
2 19
1 17
2 9
2 6
 6 3 10
62417580 78150524 410053501 582708235 630200761 760672946
2 2
1 5
1 2
1 4
2 4
2 1
2 1
1 6
2 5
2 6

NO
 NO
NO
NO
NO
NO
NO
YES
NO
NO
 NO
YES
NO
NO
YES
YES

#include <bits/stdc++.h>
using namespace std;
char __INPUT[25];
inline int _Int() {
  scanf("%s", __INPUT);
  return atoi(__INPUT);
}
long long int bigMod(long long int A, long long int P, int M) {
  long long int R = 1;
  for (A %= M; P; P >>= 1) {
    if (P & 1) R = (R * A) % M;
    A = (A * A) % M;
  }
  return R;
}
long long int bigMul(long long int A, long long int B, long long int M) {
  long long int R = 0;
  for (A %= M; B; B >>= 1) {
    if (B & 1) R = (R + A) % M;
    A = (A + A) % M;
  }
  return R;
}
unsigned long long int _pow(unsigned long long int A, int P) {
  unsigned long long int R = 1;
  for (; P; P >>= 1) {
    if (P & 1) R = (R * A);
    A = (A * A);
  }
  return R;
}
template <class T>
T GCD(T x, T y) {
  while (x) x ^= y ^= x ^= y %= x;
  return y;
}
int A[150009];
struct data {
  int i, x;
  bool operator<(const data &R) const { return x < R.x; }
};
stack<data> st;
data nw;
priority_queue<data> p;
void Main() {
  int n = _Int();
  int k = _Int();
  int q = _Int();
  for (int i = 1; i <= n; i++) {
    A[i] = _Int();
  }
  for (int i = 0; i < q; i++) {
    int type = _Int();
    int id = _Int();
    if (type == 1) {
      nw.i = id, nw.x = A[id];
      p.push(nw);
    } else {
      int sz = p.size();
      sz = min(k, sz);
      bool flag = 0;
      for (int i = sz - 1; i >= 0; i--) {
        nw = p.top();
        if (nw.i == id) flag = 1;
        st.push(nw);
        p.pop();
      }
      for (int i = 0; i < sz; i++) {
        p.push(st.top());
        st.pop();
      }
      printf("%s\n", flag ? "Yes" : "No");
    }
  }
}
int main() {
  Main();
  return 0;
}
