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 N = 1e5 + 100;
long long ST[4 * N];
long long st[4 * N], label[4 * N];
long long ct[15][N];
inline int LC(int i) { return 2 * i + 1; }
inline int RC(int i) { return 2 * i + 2; }
long long mod = 1e9 + 9;
long long pow(long long a, int p) {
  long long ans = 1ll, tmp = a;
  while (p) {
    if (p & 1) ans = (ans * tmp) % mod;
    tmp = (tmp * tmp) % mod;
    p >>= 1;
  }
  return ans;
}
void update(int L, int R, int i, int a, int b, long long k);
void renew(int L, int R, int i);
pair<long long, int> query(int L, int R, int i, int a, int b);
void build(int L, int R, int i);
char x[N];
int main() {
  int n, m, k, a, b, c, t;
  scanf("%d%d%d", &n, &m, &k);
  scanf("%s", x);
  for (int i = 0; i < 10; i++) ct[i][1] = (long long)i;
  for (int i = 0; i < 10; i++)
    for (int j = 2; j <= n; j++) ct[i][j] = (ct[i][j - 1] * 10ll + i) % mod;
  build(0, n - 1, 0);
  m += k;
  while (m--) {
    scanf("%d%d%d%d", &t, &a, &b, &c);
    a--;
    b--;
    if (t == 1)
      update(0, n - 1, 0, a, b, c);
    else {
      if (c >= (b - a + 1))
        puts("YES");
      else {
        int len = (b - a + 1);
        bool ok = true;
        len %= c;
        if (len == 0)
          ok = (query(0, n - 1, 0, a, b - c).first ==
                query(0, n - 1, 0, a + c, b).first);
        else
          ok = (query(0, n - 1, 0, a, b - len - c).first ==
                query(0, n - 1, 0, a + c, b - len).first) &&
               (query(0, n - 1, 0, a, a + c).first ==
                query(0, n - 1, 0, b - c, b).first);
        if (ok)
          puts("YES");
        else
          puts("NO");
      }
    }
  }
}
void build(int L, int R, int i) {
  st[i] = 0ll;
  label[i] = 0;
  if (L == R) {
    ST[i] = (x[L] - '0');
    return;
  }
  int M = (L + R) / 2;
  build(L, M, LC(i));
  build(M + 1, R, RC(i));
  ST[i] = ST[LC(i)] * pow(10ll, R - M) + ST[RC(i)];
  ST[i] %= mod;
  return;
}
void update(int L, int R, int i, int a, int b, long long k) {
  if (a <= L && b >= R) {
    if (L == R)
      ST[i] = k;
    else {
      label[i] = 1;
      st[i] = k;
      ST[i] = ct[k][R - L + 1];
    }
    return;
  }
  if (a > R || b < L) return;
  int M = (L + R) / 2;
  if (label[i] == 1) renew(L, R, i);
  update(L, M, LC(i), a, b, k);
  update(M + 1, R, RC(i), a, b, k);
  ST[i] = ST[LC(i)] * pow(10ll, R - M) + ST[RC(i)];
  ST[i] %= mod;
}
void renew(int L, int R, int i) {
  label[i] = 0;
  long long k = st[i];
  if (L == R) return;
  int M = (L + R) / 2;
  update(L, M, LC(i), L, M, k);
  update(M + 1, R, RC(i), M + 1, R, k);
}
pair<long long, int> query(int L, int R, int i, int a, int b) {
  if (a <= L && b >= R) return make_pair(ST[i], R - L + 1);
  if (a > R || b < L) return make_pair(0ll, 0);
  int M = (L + R) / 2;
  if (label[i] == 1) renew(L, R, i);
  pair<long long, int> tmp1 = query(L, M, LC(i), a, b);
  pair<long long, int> tmp2 = query(M + 1, R, RC(i), a, b);
  int size = tmp1.second + tmp2.second;
  long long ans = tmp1.first * pow(10ll, tmp2.second) + tmp2.first;
  ans %= mod;
  return make_pair(ans, size);
}