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;
int n, m, k;
const int kk[2] = {37, 41};
const int nn = 200005;
const int mod[2] = {(int)1e9 + 271, (int)1e9 + 321};
const int pp[11] = {1, 2, 3, 5, 7, 11, 13, 17, 19, 23, 31};
long long r[2][nn];
long long s[2][11][nn];
long long ir[2][nn];
long long h[2][18];
struct sgt {
  vector<pair<long long, long long> > tree;
  int idx;
  void update(int le, int ri, long long val, int nodele, int noderi, int node) {
    if (tree[node].second) {
      long long now = tree[node].second;
      int len = noderi - nodele + 1;
      tree[node].second = 0;
      tree[node].first = (s[idx][now][len] * r[idx][n - noderi - 1]) % mod[idx];
      if (nodele != noderi) {
        tree[node * 2].second = now;
        tree[node * 2 + 1].second = now;
      }
    }
    if (le > noderi || ri < nodele) return;
    if (le <= nodele && noderi <= ri) {
      long long now = val;
      int len = noderi - nodele + 1;
      tree[node].first = (s[idx][now][len] * r[idx][n - noderi - 1]) % mod[idx];
      if (nodele != noderi) {
        tree[node * 2].second = now;
        tree[node * 2 + 1].second = now;
      }
      return;
    }
    int mid = (nodele + noderi) / 2;
    update(le, ri, val, nodele, mid, node * 2);
    update(le, ri, val, mid + 1, noderi, node * 2 + 1);
    tree[node].first =
        (tree[node * 2].first + tree[node * 2 + 1].first) % mod[idx];
  }
  long long query(int le, int ri, int nodele, int noderi, int node) {
    if (tree[node].second) {
      long long now = tree[node].second;
      int len = noderi - nodele + 1;
      tree[node].second = 0;
      tree[node].first = (s[idx][now][len] * r[idx][n - noderi - 1]) % mod[idx];
      if (nodele != noderi) {
        tree[node * 2].second = now;
        tree[node * 2 + 1].second = now;
      }
    }
    if (le > noderi || ri < nodele) return 0;
    if (le <= nodele && noderi <= ri) return tree[node].first;
    int mid = (nodele + noderi) / 2;
    return (query(le, ri, nodele, mid, node * 2) +
            query(le, ri, mid + 1, noderi, node * 2 + 1)) %
           mod[idx];
  }
};
sgt tree[2];
long long _pow(long long a, long long b, int t) {
  long long ret = 1;
  while (b) {
    if (b & 1) ret = (ret * a) % mod[t];
    a = (a * a) % mod[t];
    b /= 2;
  }
  return ret;
}
void init() {
  for (int t = 0; t < 2; t++) {
    r[t][0] = 1;
    ir[t][0] = 1;
    for (int i = 1; i < nn; i++) r[t][i] = (r[t][i - 1] * kk[t]) % mod[t];
    ir[t][nn - 1] = _pow(r[t][nn - 1], mod[t] - 2, t);
    for (int i = nn - 2; i > 0; i--) ir[t][i] = (ir[t][i + 1] * kk[t]) % mod[t];
    for (int i = 1; i <= 10; i++) {
      for (int j = 1; j < nn; j++)
        s[t][i][j] = (s[t][i][j - 1] * kk[t] + pp[i]) % mod[t];
    }
  }
}
bool possi(int b, int c, int d) {
  for (int t = 0; t < 2; t++) {
    int len = c - b + 1;
    int p = len / d;
    int q = len % d;
    h[t][0] = (tree[t].query(b - 1, b - 1 + d - 1, 0, n - 1, 1) *
               ir[t][n - 1 - (b - 1 + d - 1)]) %
              mod[t];
    for (int i = 1; (1 << i) <= p; i++)
      h[t][i] = (h[t][i - 1] * r[t][d * (1 << (i - 1))] + h[t][i - 1]) % mod[t];
    long long now = 0;
    for (int i = 17; i >= 0; i--) {
      if (p >= (1 << i)) {
        now = (now * r[t][d * (1 << i)] + h[t][i]) % mod[t];
        p -= (1 << i);
      }
    }
    long long md = (tree[t].query(b - 1, b - 1 + q - 1, 0, n - 1, 1) *
                    ir[t][n - 1 - (b - 1 + q - 1)]) %
                   mod[t];
    now = (now * r[t][q] + md) % mod[t];
    long long there =
        (tree[t].query(b - 1, c - 1, 0, n - 1, 1) * ir[t][n - 1 - (c - 1)]) %
        mod[t];
    if (now != there) return false;
  }
  return true;
}
int main() {
  scanf("%d%d%d", &n, &m, &k);
  tree[0].idx = 0;
  tree[1].idx = 1;
  tree[0].tree = vector<pair<long long, long long> >(4 * n);
  tree[1].tree = vector<pair<long long, long long> >(4 * n);
  init();
  for (int i = 0; i < n; i++) {
    int x;
    scanf("%1d", &x);
    tree[0].update(i, i, x + 1, 0, n - 1, 1);
    tree[1].update(i, i, x + 1, 0, n - 1, 1);
  }
  for (int i = 0; i < m + k; i++) {
    int a, b, c, d;
    scanf("%d%d%d%d", &a, &b, &c, &d);
    if (a == 1) {
      d++;
      tree[0].update(b - 1, c - 1, d, 0, n - 1, 1);
      tree[1].update(b - 1, c - 1, d, 0, n - 1, 1);
    } else {
      if (possi(b, c, d))
        printf("YES\n");
      else
        printf("NO\n");
    }
  }
  return 0;
}