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;
long long ten[100000 + 1][4];
long long ten_inv[100000 + 1][4];
string s;
long long seg_tree[4 * 100000][4];
long long lazy[4 * 100000];
long long MOD[] = {1000000000 + 7, 1000000000 + 9, 1000000000 + 21,
                   1000000000 + 33};
long long mod_pow(long long base, long long exp, long long m) {
  if (exp == 0) return 1;
  if (exp & 1)
    return (base * mod_pow(base, exp - 1, m)) % m;
  else
    return mod_pow((base * base) % m, exp / 2, m);
}
long long concat(long long lft, long long rght, int r_len, int v) {
  return (lft * (ten[r_len][v] + 1) + rght) % MOD[v];
}
void build(int L, int R, int node) {
  if (L == R) {
    for (int v = 0; v < 4; v++) seg_tree[node][v] = s[L] - '0';
    return;
  }
  build(L, (L + R) / 2, 2 * node);
  build((L + R) / 2 + 1, R, 2 * node + 1);
  for (int v = 0; v < 4; v++)
    seg_tree[node][v] = concat(seg_tree[2 * node][v], seg_tree[2 * node + 1][v],
                               R - (L + R) / 2, v);
}
long long series(long long period, long long len, int v) {
  return (ten[len][v] * ten_inv[period][v]) % MOD[v];
}
void digit_set(int L, int R, long long c, int node) {
  for (int v = 0; v < 4; v++)
    seg_tree[node][v] = (c * series(1, R - L + 1, v)) % MOD[v];
  if (L != R) {
    lazy[2 * node] = c;
    lazy[2 * node + 1] = c;
  }
  lazy[node] = -1;
}
void update(int L, int R, int l, int r, int c, int node) {
  if (lazy[node] != -1) digit_set(L, R, lazy[node], node);
  if (L > R || R < l || L > r) return;
  if (l <= L && R <= r) {
    digit_set(L, R, c, node);
    return;
  }
  update(L, (L + R) / 2, l, r, c, 2 * node);
  update((L + R) / 2 + 1, R, l, r, c, 2 * node + 1);
  for (int v = 0; v < 4; v++)
    seg_tree[node][v] = concat(seg_tree[2 * node][v], seg_tree[2 * node + 1][v],
                               R - (L + R) / 2, v);
}
long long query(int L, int R, int l, int r, int node, int v) {
  if (lazy[node] != -1) digit_set(L, R, lazy[node], node);
  if (L > R || R < l || L > r) return 0;
  if (l <= L && R <= r)
    return seg_tree[node][v];
  else if (r <= (L + R) / 2)
    return query(L, (L + R) / 2, l, r, 2 * node, v);
  else
    return concat(query(L, (L + R) / 2, l, r, 2 * node, v),
                  query((L + R) / 2 + 1, R, l, r, 2 * node + 1, v),
                  min(r, R) - (L + R) / 2, v);
}
bool is_period(int n, int l, int r, int x) {
  if (x > (r - l + 1) / 2) {
    for (int v = 0; v < 4; v++)
      if (query(0, n - 1, l, l + (r - l + 1) - x - 1, 1, v) !=
          query(0, n - 1, r - ((r - l + 1) - x) + 1, r, 1, v))
        return false;
    return true;
  }
  r = l + x * ((r - l + 1) / x) - 1;
  for (int v = 0; v < 4; v++)
    if (query(0, n - 1, l, r, 1, v) !=
        (query(0, n - 1, l, l + x - 1, 1, v) * series(x, r - l + 1, v)) %
            MOD[v])
      return false;
  return true;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  for (int v = 0; v < 4; v++) ten[0][v] = 0;
  for (int i = 1; i <= 100000; i++)
    for (int v = 0; v < 4; v++)
      ten[i][v] = ((ten[i - 1][v] + 1LL) * 10LL - 1LL) % MOD[v];
  for (int v = 0; v < 4; v++)
    for (int i = 0; i <= 100000; i++)
      ten_inv[i][v] = mod_pow(ten[i][v], MOD[v] - 2, MOD[v]);
  int n, m, k;
  cin >> n >> m >> k;
  cin >> s;
  build(0, n - 1, 1);
  memset(lazy, -1, sizeof lazy);
  for (int q = 0; q < m + k; q++) {
    int t, l, r, x;
    cin >> t >> l >> r >> x;
    l--, r--;
    if (t == 1)
      update(0, n - 1, l, r, x, 1);
    else
      cout << (is_period(n, l, r, x) ? "YES" : "NO") << '\n';
  }
  cout << flush;
  return 0;
}