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;
void RI() {}
template <typename... T>
void RI(int &head, T &...tail) {
  scanf("%d", &head);
  RI(tail...);
}
struct StrHash {
  const static int P = 100;
  const static int N = 1e5 + 10;
  constexpr static int MOD[] = {1000000123, 1000001011, 1000009999};
  const static int N_MOD = sizeof(MOD) / sizeof(MOD[0]);
  struct PowTable {
    int64_t dat[N][N_MOD];
    PowTable() {
      for (int i = 0; i < N_MOD; i++) dat[0][i] = 1;
      for (int i = 1; i < N; i++)
        for (int j = 0; j < N_MOD; j++) dat[i][j] = dat[i - 1][j] * P % MOD[j];
    }
    int64_t *operator[](int i) { return dat[i]; }
  };
  static PowTable pw;
  int len;
  array<int64_t, N_MOD> val;
  StrHash(const char *s = "") {
    len = 0;
    val.fill(0);
    while (*s) (*this) += *s;
  }
  StrHash(int x) {
    len = 1;
    for (int i = 0; i < N_MOD; i++) val[i] = x % MOD[i];
  }
  StrHash(const string &s) : StrHash(s.data()) {}
  bool operator==(StrHash &o) { return len == o.len && val == o.val; }
  int64_t &operator[](int i) { return val[i]; }
  int64_t operator[](int i) const { return val[i]; }
  StrHash operator+(const StrHash &o) const {
    StrHash s;
    s.len = len + o.len;
    for (int i = 0; i < N_MOD; i++)
      s[i] = (val[i] * pw[o.len][i] + o[i]) % MOD[i];
    return s;
  }
  void operator+=(const StrHash &o) {
    len += o.len;
    for (int i = 0; i < N_MOD; i++)
      val[i] = (val[i] * pw[o.len][i] + o[i]) % MOD[i];
  }
  StrHash operator+(int x) {
    StrHash s;
    s.len = len + 1;
    for (int i = 0; i < N_MOD; i++) s[i] = (val[i] * P + x) % MOD[i];
    return s;
  }
  void operator+=(int x) {
    len++;
    for (int i = 0; i < N_MOD; i++) val[i] = (val[i] * P + x) % MOD[i];
  }
};
StrHash::PowTable StrHash::pw;
constexpr int StrHash::MOD[];
const int N = 1e5 + 10;
StrHash tbl[10][N];
struct Seg {
  int cov[4 * N];
  StrHash h[4 * N];
  StrHash get_h(int id, int l, int r) {
    if (cov[id] == -1)
      return h[id];
    else
      return tbl[cov[id]][r - l + 1];
  }
  void push(int id) {
    int &c = cov[id];
    if (c == -1) return;
    cov[id * 2] = cov[id * 2 + 1] = c;
    c = -1;
  }
  void pull(int id, int l, int m, int r) {
    h[id] = get_h(id * 2, l, m) + get_h(id * 2 + 1, m + 1, r);
  }
  void init(int id, int l, int r, int *a) {
    cov[id] = -1;
    if (l == r) {
      h[id] = StrHash(a[l] + 1);
      return;
    }
    int m = (l + r) / 2;
    init(id * 2, l, m, a);
    init(id * 2 + 1, m + 1, r, a);
    pull(id, l, m, r);
  }
  StrHash ask(int id, int l, int r, int ql, int qr) {
    if (ql <= l && r <= qr) return get_h(id, l, r);
    int m = (l + r) / 2;
    push(id);
    StrHash ret;
    if (ql <= m) ret += ask(id * 2, l, m, ql, qr);
    if (qr > m) ret += ask(id * 2 + 1, m + 1, r, ql, qr);
    pull(id, l, m, r);
    return ret;
  }
  void set(int id, int l, int r, int ql, int qr, int qc) {
    if (ql <= l && r <= qr) {
      cov[id] = qc;
      return;
    }
    push(id);
    int m = (l + r) / 2;
    if (ql <= m) set(id * 2, l, m, ql, qr, qc);
    if (qr > m) set(id * 2 + 1, m + 1, r, ql, qr, qc);
    pull(id, l, m, r);
  }
} seg;
int n, q1, q2, a[N];
int main() {
  RI(n, q1, q2);
  for (int i = (1); i <= int(n); i++) scanf("%1d", a + i);
  for (int i = 0; i < int(10); i++)
    for (int j = 0; j < int(n); j++) tbl[i][j + 1] = tbl[i][j] + (i + 1);
  seg.init(1, 1, n, a);
  for (int i = 0; i < int(q1 + q2); i++) {
    int op, l, r, c;
    RI(op, l, r, c);
    if (op == 1)
      seg.set(1, 1, n, l, r, c);
    else {
      if (c == r - l + 1) {
        puts("YES");
        continue;
      }
      auto h1 = seg.ask(1, 1, n, l, r - c);
      auto h2 = seg.ask(1, 1, n, l + c, r);
      puts(h1 == h2 ? "YES" : "NO");
    }
  }
  return 0;
}