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 = 100005;
const long long mod1 = 1e9 + 7;
const long long mod2 = 1e9 + 9;
int a[maxn];
long long p[maxn][2];
int p2[10][maxn][2];
typedef struct SegTree {
  long long t[maxn * 3][2];
  int lazy[maxn * 3];
  void pushUp(int l, int r, int x) {
    int m = (l + r) >> 1;
    t[x][0] = ((t[x << 1][0] * p[r - m][0]) % mod1 + t[x << 1 | 1][0]) % mod1;
    t[x][1] = ((t[x << 1][1] * p[r - m][1]) % mod2 + t[x << 1 | 1][1]) % mod2;
  }
  void build(int l, int r, int x) {
    lazy[x] = -1;
    if (l == r) {
      t[x][0] = t[x][1] = a[l];
      return;
    }
    int m = (l + r) >> 1;
    build(l, m, x << 1);
    build(m + 1, r, x << 1 | 1);
    pushUp(l, r, x);
  }
  void pushDown(int l, int r, int x) {
    int m = (l + r) >> 1;
    lazy[x << 1] = lazy[x << 1 | 1] = lazy[x];
    t[x << 1][0] = p2[lazy[x]][m - l + 1][0];
    t[x << 1][1] = p2[lazy[x]][m - l + 1][1];
    t[x << 1 | 1][0] = p2[lazy[x]][r - m][0];
    t[x << 1 | 1][1] = p2[lazy[x]][r - m][1];
    lazy[x] = -1;
  }
  void update(int L, int R, int ch, int l, int r, int x) {
    if (L == l && R == r) {
      lazy[x] = ch;
      t[x][0] = p2[ch][r - l + 1][0];
      t[x][1] = p2[ch][r - l + 1][1];
      return;
    }
    int m = (l + r) >> 1;
    if (lazy[x] != -1) pushDown(l, r, x);
    if (R <= m)
      update(L, R, ch, l, m, x << 1);
    else if (L > m)
      update(L, R, ch, m + 1, r, x << 1 | 1);
    else {
      update(L, m, ch, l, m, x << 1);
      update(m + 1, R, ch, m + 1, r, x << 1 | 1);
    }
    pushUp(l, r, x);
  }
  pair<long long, long long> get(int L, int R, int l, int r, int x) {
    if (L == l && R == r) return pair<long long, long long>(t[x][0], t[x][1]);
    int m = (l + r) >> 1;
    if (lazy[x] != -1) pushDown(l, r, x);
    if (R <= m) return get(L, R, l, m, x << 1);
    if (L > m) return get(L, R, m + 1, r, x << 1 | 1);
    pair<long long, long long> a1 = get(L, m, l, m, x << 1),
                               a2 = get(m + 1, R, m + 1, r, x << 1 | 1);
    return pair<long long, long long>(
        (a1.first * p[R - m][0] + a2.first) % mod1,
        (a1.second * p[R - m][1] + a2.second) % mod2);
  }
} SegTree;
SegTree T;
int n, m, k;
int main() {
  p[0][0] = p[0][1] = 1;
  cin >> n >> m >> k;
  for (int i = 1; i <= n; i++) scanf("%1d", &a[i]);
  for (int i = 1; i <= n; i++) {
    p[i][0] = (p[i - 1][0] * 10) % mod1;
    p[i][1] = (p[i - 1][1] * 10) % mod2;
  }
  for (int i = 1; i <= 9; i++)
    for (int j = 1; j <= n; j++) {
      p2[i][j][0] = (p2[i][j - 1][0] * 10ll + i) % mod1;
      p2[i][j][1] = (p2[i][j - 1][1] * 10ll + i) % mod2;
    }
  T.build(1, n, 1);
  int l, r, md, c;
  pair<long long, long long> a1, a2;
  for (int i = 0; i < m + k; i++) {
    scanf("%d%d%d%d", &md, &l, &r, &c);
    if (md == 1) {
      T.update(l, r, c, 1, n, 1);
    } else {
      if (r - l + 1 <= c) {
        printf("YES\n");
        continue;
      }
      a1 = T.get(l + c, r, 1, n, 1), a2 = T.get(l, r - c, 1, n, 1);
      if (a1 == a2)
        printf("YES\n");
      else
        printf("NO\n");
    }
  }
  return 0;
}