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>
namespace FastIO {
bool IOerror = 0;
inline char nc() {
  static char buf[100000], *p1 = buf + 100000, *pend = buf + 100000;
  if (p1 == pend) {
    p1 = buf;
    pend = buf + fread(buf, 1, 100000, stdin);
    if (pend == p1) {
      IOerror = 1;
      return -1;
    }
  }
  return *p1++;
}
inline bool blank(char ch) {
  return ch == ' ' || ch == '\n' || ch == '\r' || ch == '\t';
}
template <class T>
inline bool read(T& x) {
  bool sign = 0;
  char ch = nc();
  x = 0;
  for (; blank(ch); ch = nc())
    ;
  if (IOerror) return false;
  if (ch == '-') sign = 1, ch = nc();
  for (; ch >= '0' && ch <= '9'; ch = nc()) x = x * 10 + ch - '0';
  if (sign) x = -x;
  return true;
}
template <class T, class... U>
bool read(T& h, U&... t) {
  return read(h) && read(t...);
}
};  // namespace FastIO
using namespace std;
using namespace FastIO;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
const int INF = 0x3f3f3f3f;
const int N = 1e5 + 10;
char s[N];
struct TreeNode {
  struct node {
    int l, r, mid, len, lazy;
    unsigned long long sum;
  } tree[N << 2];
  long long mod;
  unsigned long long base, ba[N], sba[N];
  void init() {
    ba[0] = 1;
    sba[0] = 0;
    for (int i = 1; i < N; i++) {
      ba[i] = ba[i - 1] * base;
      sba[i] = sba[i - 1] + ba[i];
      ba[i] %= mod;
      sba[i] %= mod;
    }
  }
  void pp(int x) {
    tree[x].sum = tree[x << 1].sum + tree[x << 1 | 1].sum;
    tree[x].sum %= mod;
  }
  void build(int x, int l, int r) {
    tree[x] = {l, r, l + r >> 1, r - l + 1, -1, 0};
    if (l == r) {
      tree[x].sum = (s[l] - '0' + 1) * ba[l];
      tree[x].sum %= mod;
      return;
    }
    int mid = tree[x].mid;
    build(x << 1, l, mid);
    build(x << 1 | 1, mid + 1, r);
    pp(x);
  }
  void pd(int x) {
    if (tree[x].lazy != -1) {
      int now = tree[x].lazy;
      tree[x << 1].lazy = tree[x << 1 | 1].lazy = now;
      tree[x << 1].sum =
          (sba[tree[x << 1].r] - sba[tree[x << 1].l - 1] + mod) * now;
      tree[x << 1 | 1].sum =
          (sba[tree[x << 1 | 1].r] - sba[tree[x << 1 | 1].l - 1] + mod) * now;
      tree[x << 1].sum %= mod;
      tree[x << 1 | 1].sum %= mod;
      tree[x].lazy = -1;
    }
  }
  void modify(int x, int l, int r, int k) {
    if (l <= tree[x].l && tree[x].r <= r) {
      tree[x].lazy = k;
      tree[x].sum = (sba[tree[x].r] - sba[tree[x].l - 1] + mod) * k;
      tree[x].sum %= mod;
      return;
    }
    int mid = tree[x].mid;
    pd(x);
    if (l <= mid) modify(x << 1, l, r, k);
    if (r > mid) modify(x << 1 | 1, l, r, k);
    pp(x);
  }
  unsigned long long query(int x, int l, int r) {
    if (l <= tree[x].l && tree[x].r <= r) {
      return tree[x].sum % mod;
    }
    pd(x);
    unsigned long long ans = 0;
    int mid = tree[x].mid;
    if (l <= mid) ans += query(x << 1, l, r), ans %= mod;
    if (r > mid) ans += query(x << 1 | 1, l, r), ans %= mod;
    pp(x);
    return ans;
  }
} t[2];
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  cin >> s + 1;
  t[0].mod = 10000103;
  t[1].mod = 99999787;
  for (int i = 0; i <= 1; i++) {
    t[i].base = 13331;
    t[i].init();
    t[i].build(1, 1, n);
  }
  for (int i = 1; i <= m + k; i++) {
    int op, l, r, d;
    cin >> op >> l >> r >> d;
    if (op == 1) {
      for (int j = 0; j <= 1; j++) t[j].modify(1, l, r, d + 1);
    } else {
      if (r - l + 1 <= d) {
        cout << "YES" << endl;
        continue;
      }
      int ok = 1;
      for (int j = 0; j <= 1; j++) {
        unsigned long long s1, s2;
        s1 = t[j].query(1, l, r - d) * t[j].ba[n - l];
        s1 %= t[j].mod;
        s2 = t[j].query(1, l + d, r) * t[j].ba[n - (l + d)];
        s2 %= t[j].mod;
        if (s1 != s2) ok = 0;
      }
      if (ok)
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
    }
  }
  return 0;
}