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;
vector<int> a;
const int MAX_N = 4e5 + 1;
const int base1 = 29;
const int base2 = 37;
const int MOD1 = 1e9 + 9;
const int MOD2 = 98765431;
int pw[MAX_N], pw2[MAX_N], Hash1[MAX_N][10], Hash2[MAX_N][10],
    segTree[MAX_N][2], svLazy[MAX_N];
void lazy(int p, int l, int r) {
  if (svLazy[p] != -1) {
    int Left = 2 * p + 1, Right = 2 * p + 2;
    int mid = (l + r) >> 1;
    svLazy[Left] = svLazy[Right] = svLazy[p];
    segTree[Left][0] = Hash1[mid - l + 1][svLazy[p]];
    segTree[Left][1] = Hash2[mid - l + 1][svLazy[p]];
    segTree[Right][0] = Hash1[r - mid][svLazy[p]];
    segTree[Right][1] = Hash2[r - mid][svLazy[p]];
    svLazy[p] = -1;
  }
}
void build(int p, int l, int r) {
  if (l == r) {
    segTree[p][0] = Hash1[1][a[l]];
    segTree[p][1] = Hash2[1][a[l]];
  } else {
    int mid = (l + r) >> 1;
    build(2 * p + 1, l, mid);
    build(2 * p + 2, mid + 1, r);
    segTree[p][0] =
        (1LL * segTree[2 * p + 1][0] * pw[r - mid] + segTree[2 * p + 2][0]) %
        MOD1;
    segTree[p][1] =
        (1LL * segTree[2 * p + 1][1] * pw2[r - mid] + segTree[2 * p + 2][1]) %
        MOD2;
  }
}
void update(int x, int y, int p, int l, int r, int val) {
  if (l > y || r < x) return;
  if (l >= x && r <= y) {
    segTree[p][0] = 1LL * Hash1[r - l + 1][val];
    segTree[p][1] = 1LL * Hash2[r - l + 1][val];
    svLazy[p] = val;
    return;
  }
  int mid = (l + r) >> 1;
  lazy(p, l, r);
  update(x, y, 2 * p + 1, l, mid, val);
  update(x, y, 2 * p + 2, mid + 1, r, val);
  segTree[p][0] =
      (1LL * segTree[2 * p + 1][0] * pw[r - mid] + segTree[2 * p + 2][0]) %
      MOD1;
  segTree[p][1] =
      (1LL * segTree[2 * p + 1][1] * pw2[r - mid] + segTree[2 * p + 2][1]) %
      MOD2;
}
pair<int, int> query(int x, int y, int p, int l, int r) {
  if (r < x || l > y) return {0, 0};
  if (l >= x && r <= y)
    return {(1LL * segTree[p][0] * pw[y - r]) % MOD1,
            (1LL * segTree[p][1] * pw2[y - r]) % MOD2};
  lazy(p, l, r);
  int mid = (l + r) >> 1;
  pair<int, int> Left = query(x, y, 2 * p + 1, l, mid);
  pair<int, int> Right = query(x, y, 2 * p + 2, mid + 1, r);
  pair<int, int> res{(Left.first + Right.first) % MOD1,
                     (Left.second + Right.second) % MOD2};
  return res;
}
int main() {
  for (int i = 0; i < MAX_N; i++) svLazy[i] = -1;
  int n, m, k, q;
  scanf("%d %d %d", &n, &m, &k);
  q = m + k;
  a.resize(n + 1);
  for (int i = 0; i < n; i++) scanf("%1d", &a[i]);
  pw[0] = pw2[0] = 1;
  for (int i = 1; i < MAX_N; i++) {
    pw[i] = 1LL * pw[i - 1] * base1 % MOD1;
    pw2[i] = 1LL * pw2[i - 1] * base2 % MOD2;
  }
  for (int sz = 1; sz < MAX_N; sz++) {
    for (int i = 0; i <= 10; i++) {
      Hash1[sz][i] = (1LL * Hash1[sz - 1][i] * base1 + i + 256) % MOD1;
      Hash2[sz][i] = (1LL * Hash2[sz - 1][i] * base2 + i + 512) % MOD2;
    }
  }
  build(0, 0, n - 1);
  pair<int, int> res2, res1;
  for (int i = 0; i < q; i++) {
    int type, l, r, c;
    scanf("%d %d %d %d", &type, &l, &r, &c);
    if (type & 1)
      update(l - 1, r - 1, 0, 0, n - 1, c);
    else {
      r--, l--;
      res1 = query(l, r - c, 0, 0, n - 1);
      res2 = query(l + c, r, 0, 0, n - 1);
      if (res1 == res2)
        printf("YES\n");
      else
        printf("NO\n");
    }
  }
}