Problem: One day Kefa the parrot was walking down the street as he was on the way home from the restaurant when he saw something glittering by the road. As he came nearer he understood that it was a watch. He decided to take it to the pawnbroker to earn some money. 

The pawnbroker said that each watch contains a serial number represented by a string of digits from 0 to 9, and the more quality checks this number passes, the higher is the value of the watch. The check is defined by three positive integers l, r and d. The watches pass a check if a substring of the serial number from l to r has period d. Sometimes the pawnbroker gets distracted and Kefa changes in some substring of the serial number all digits to c in order to increase profit from the watch. 

The seller has a lot of things to do to begin with and with Kefa messing about, he gave you a task: to write a program that determines the value of the watch.

Let us remind you that number x is called a period of string s (1 ≤ x ≤ |s|), if si = si + x for all i from 1 to |s| - x.

Input

The first line of the input contains three positive integers n, m and k (1 ≤ n ≤ 105, 1 ≤ m + k ≤ 105) — the length of the serial number, the number of change made by Kefa and the number of quality checks.

The second line contains a serial number consisting of n digits.

Then m + k lines follow, containing either checks or changes. 

The changes are given as 1 l r c (1 ≤ l ≤ r ≤ n, 0 ≤ c ≤ 9). That means that Kefa changed all the digits from the l-th to the r-th to be c. 

The checks are given as 2 l r d (1 ≤ l ≤ r ≤ n, 1 ≤ d ≤ r - l + 1).

Output

For each check on a single line print "YES" if the watch passed it, otherwise print "NO".

Examples

Input

3 1 2
112
2 2 3 1
1 1 3 8
2 1 2 1


Output

NO
YES


Input

6 2 3
334934
2 2 5 2
1 4 4 3
2 1 6 3
1 2 3 8
2 3 6 1


Output

NO
YES
NO

Note

In the first sample test two checks will be made. In the first one substring "12" is checked on whether or not it has period 1, so the answer is "NO". In the second one substring "88", is checked on whether or not it has period 1, and it has this period, so the answer is "YES".

In the second statement test three checks will be made. The first check processes substring "3493", which doesn't have period 2. Before the second check the string looks as "334334", so the answer to it is "YES". And finally, the third check processes substring "8334", which does not have period 1.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3F3F3F3F;
const int NEGINF = 0xC0C0C0C0;
const double EPS = 1e-8;
int cmp_double(double a, double b, double eps = 1e-9) {
  return a + eps > b ? b + eps > a ? 0 : 1 : -1;
}
inline void scanint(int& x) {
  register int c = getchar();
  x = 0;
  int neg = 0;
  for (; ((c < 48 || c > 57) && c != '-'); c = getchar())
    ;
  if (c == '-') {
    neg = 1;
    c = getchar();
  }
  for (; c > 47 && c < 58; c = getchar()) {
    x = (x << 1) + (x << 3) + c - 48;
  }
  if (neg) x = -x;
}
vector<long long> base_sum;
vector<long long> base_exp;
const long long MOD_PRIME = 1e9 + 5;
const int BASE = 29;
struct node {
  int base_cnt;
  long long val;
};
template <typename T, typename T2>
struct segtree_lazy {
  T op(const T& a, const T& b) {
    node ret;
    ret.base_cnt = a.base_cnt + b.base_cnt;
    ret.val =
        (((((((((a.val * base_exp[b.base_cnt])) % (MOD_PRIME)) + (MOD_PRIME)) %
             (MOD_PRIME)) +
            b.val) %
           (MOD_PRIME)) +
          (MOD_PRIME)) %
         (MOD_PRIME));
    return ret;
  }
  void recompute(int node, int L, int R, const T2& upd) {
    islazy[node] = true;
    lazy[node] = upd;
    tree[node].base_cnt = R - L;
    tree[node].val =
        ((((base_sum[R - L - 1] * upd.val) % (MOD_PRIME)) + (MOD_PRIME)) %
         (MOD_PRIME));
  }
  int N;
  vector<T> tree;
  vector<T2> lazy;
  vector<bool> islazy;
  segtree_lazy(int _N) : N(_N) {
    int e = 32 - __builtin_clz(N - 1);
    if (N == 1) e = 0;
    N = 1 << e;
    tree.resize(1 << (e + 1));
    lazy.resize(1 << (e + 1));
    islazy.resize(1 << (e + 1), false);
  }
  void setup(vector<T>& V, int node = 0, int L = 0, int R = -1) {
    if (R == -1) R = N;
    if (L >= int((V).size())) return;
    if (R - L == 1) {
      tree[node] = V[L];
      return;
    }
    int m = (L + R) / 2;
    setup(V, 2 * node + 1, L, m);
    setup(V, 2 * node + 2, m, R);
    tree[node] = op(tree[2 * node + 1], tree[2 * node + 2]);
  }
  void push(int node, int L, int R) {
    if (!islazy[node]) return;
    islazy[node] = false;
    int m = (L + R) / 2;
    recompute(2 * node + 1, L, m, lazy[node]);
    recompute(2 * node + 2, m, R, lazy[node]);
  }
  void update(int i, int j, const T2& upd) { _update(i, j + 1, upd); }
  T _update(int i, int j, const T2& upd, int node = 0, int L = 0, int R = -1) {
    if (R == -1) R = N;
    if (j <= L || i >= R) return tree[node];
    if (i <= L && R <= j) {
      recompute(node, L, R, upd);
      return tree[node];
    }
    push(node, L, R);
    int m = (L + R) / 2;
    return tree[node] = op(_update(i, j, upd, 2 * node + 1, L, m),
                           _update(i, j, upd, 2 * node + 2, m, R));
  }
  T query(int i, int j) { return _query(i, j + 1); }
  T _query(int i, int j, int node = 0, int L = 0, int R = -1) {
    if (R == -1) R = N;
    if (i <= L && R <= j) return tree[node];
    push(node, L, R);
    int m = (L + R) / 2;
    if (i >= m)
      return _query(i, j, 2 * node + 2, m, R);
    else if (j <= m)
      return _query(i, j, 2 * node + 1, L, m);
    return op(_query(i, j, 2 * node + 1, L, m),
              _query(i, j, 2 * node + 2, m, R));
  }
};
void compute_base_exp_sum(vector<long long>& base_exp,
                          vector<long long>& base_sum, int N) {
  base_exp.resize(N);
  base_sum.resize(N);
  base_exp[0] = base_sum[0] = 1;
  for (int i = 1; i < N; i++) {
    base_exp[i] = (((((base_exp[i - 1] * BASE)) % (MOD_PRIME)) + (MOD_PRIME)) %
                   (MOD_PRIME));
    base_sum[i] = base_sum[i - 1] + base_exp[i];
  }
}
int main() {
  int N, M, K;
  cin >> N >> M >> K;
  int OP = M + K;
  string s;
  cin >> s;
  vector<node> v;
  for (int i = 0; i < N; i++) {
    v.push_back({1, s[i] - '0'});
  }
  compute_base_exp_sum(base_exp, base_sum, N);
  segtree_lazy<node, node> seg(N);
  seg.setup(v);
  while (OP--) {
    int type, l, r, v;
    scanf("%d %d %d %d", &type, &l, &r, &v);
    l--;
    r--;
    if (type == 1) {
      seg.update(l, r, {1, v});
    } else {
      if (r - l + 1 == v) {
        printf("YES\n");
        continue;
      }
      if (seg.query(l + v, r).val == seg.query(l, r - v).val) {
        printf("YES\n");
      } else {
        printf("NO\n");
      }
    }
  }
  return 0;
}