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 maxn = 1e5 + 100;
const long long P = 131;
const long long M = 1e9 + 7;
long long deg[maxn];
long long sum[maxn];
long long binpow(long long a, long long n) {
  if (n == 0) return 1;
  long long r = binpow(a, n >> 1);
  (r *= r) %= M;
  if (n & 1) {
    (r *= a) %= M;
  }
  return r;
}
long long bindiv(long long a, long long b) {
  return (a * binpow(b, M - 2)) % M;
}
void init() {
  deg[0] = 1;
  sum[0] = 0;
  sum[1] = 1;
  for (int i = 1; i < maxn; ++i) {
    deg[i] = (deg[i - 1] * P) % M;
    sum[i + 1] = (deg[i] + sum[i]) % M;
  }
}
int code(char c) { return (c - '0') + 1; }
class segm_tree_t {
  long long t[4 * maxn];
  int p[4 * maxn];
  int n;
  void build(int v, int tl, int tr, const char *s) {
    if (tl == tr) {
      t[v] = code(s[tl]);
      return;
    }
    int tm = (tl + tr) / 2;
    build(2 * v + 1, tl, tm, s);
    build(2 * v + 2, tm + 1, tr, s);
    t[v] = (((t[2 * v + 1] * deg[tr - (tm + 1) + 1]) % M) + t[2 * v + 2]) % M;
  }
  void push(int v, int tl, int tr) {
    if (p[v]) {
      long long len = tr - tl + 1;
      t[v] = (p[v] * sum[len]) % M;
      if (tl != tr) {
        p[2 * v + 1] = p[2 * v + 2] = p[v];
      }
      p[v] = 0;
    }
  }
  void set(int v, int tl, int tr, int l, int r, int x) {
    push(v, tl, tr);
    if (l > r) return;
    if (l == tl && r == tr) {
      p[v] = x;
      push(v, tl, tr);
      return;
    }
    int tm = (tl + tr) / 2;
    set(2 * v + 1, tl, tm, l, min(r, tm), x);
    set(2 * v + 2, tm + 1, tr, max(l, tm + 1), r, x);
    t[v] = (((t[2 * v + 1] * deg[tr - (tm + 1) + 1]) % M) + t[2 * v + 2]) % M;
  }
  long long hash(int v, int tl, int tr, int l, int r) {
    push(v, tl, tr);
    if (l > r) return 0;
    if (l == tl && r == tr) {
      return t[v];
    }
    int tm = (tl + tr) / 2;
    long long h1 = hash(2 * v + 1, tl, tm, l, min(r, tm));
    long long h2 = hash(2 * v + 2, tm + 1, tr, max(l, tm + 1), r);
    if (tl <= l && r <= tm) return h1;
    if (tm + 1 <= l && r <= tr) return h2;
    int rlen = r - max(tm + 1, l) + 1;
    return (((h1 * deg[rlen]) % M) + h2) % M;
  }

 public:
  segm_tree_t(int n, const char *s) : n(n) {
    memset(p, 0, sizeof(p));
    build(0, 0, n - 1, s);
  }
  void set(int l, int r, int x) { set(0, 0, n - 1, l, r, x); }
  long long hash(int l, int r) { return hash(0, 0, n - 1, l, r); }
  bool check(int l, int r, int period) {
    long long len = r - l + 1;
    if (period > len) {
      return false;
    }
    long long h = hash(l, l + period - 1);
    long long cnt = len / period;
    h = h * bindiv((binpow(deg[period], cnt) - 1 + M) % M,
                   (deg[period] - 1 + M) % M);
    h %= M;
    long long md = len % period;
    if (md) {
      h = ((h * deg[md]) % M) + hash(l, l + md - 1);
      h %= M;
    }
    return h == hash(l, r);
  }
};
char str[maxn];
int n, m, k;
int main() {
  init();
  scanf("%d %d %d %s", &n, &m, &k, str);
  segm_tree_t st(n, str);
  for (int i = 0; i < m + k; ++i) {
    int t, l, r, x;
    scanf("%d %d %d %d", &t, &l, &r, &x);
    --l, --r;
    if (t == 1) {
      st.set(l, r, code(x + '0'));
    } else {
      puts(st.check(l, r, x) ? "YES" : "NO");
    }
  }
  return 0;
}