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;
pair<long long, long long> tree[400000], pwr[100005], inv;
int lazy[400000];
string s;
long long int power(long long int a, long long int b, long long m) {
  long long int x = 1, y = a;
  while (b > 0) {
    if (b % 2 == 1) {
      x = (x * y);
      if (x > m) x %= m;
    }
    y = (y * y);
    if (y > m) y %= m;
    b /= 2;
  }
  return x;
}
void build_tree(int node, int a, int b) {
  if (a > b) return;
  if (a == b) {
    tree[node] = {s[a - 1] - '0' + 1, s[a - 1] - '0' + 1};
    return;
  }
  build_tree(node * 2, a, (a + b) / 2);
  build_tree(node * 2 + 1, 1 + (a + b) / 2, b);
  int rsz = b - (a + b) / 2;
  tree[node] = {
      (tree[node * 2].first * pwr[rsz].first + tree[node * 2 + 1].first) %
          1000000007,
      (tree[node * 2].second * pwr[rsz].second + tree[node * 2 + 1].second) %
          (1000000007 + 2)};
}
void update_tree(int node, int a, int b, int i, int j, int value) {
  if (lazy[node]) {
    tree[node].first =
        ((lazy[node] * ((pwr[b - a + 1].first - 1 + 1000000007) % 1000000007)) %
         1000000007 * inv.first) %
        1000000007;
    tree[node].second =
        ((lazy[node] *
          ((pwr[b - a + 1].second - 1 + 1000000007 + 2) % (1000000007 + 2))) %
         (1000000007 + 2) * inv.second) %
        (1000000007 + 2);
    if (a != b) {
      lazy[node * 2] = lazy[node];
      lazy[node * 2 + 1] = lazy[node];
    }
    lazy[node] = 0;
  }
  if (a > b || a > j || b < i) return;
  if (a >= i && b <= j) {
    tree[node].first =
        ((value * ((pwr[b - a + 1].first - 1 + 1000000007) % 1000000007)) %
         1000000007 * inv.first) %
        1000000007;
    tree[node].second =
        ((value *
          ((pwr[b - a + 1].second - 1 + 1000000007 + 2) % (1000000007 + 2))) %
         (1000000007 + 2) * inv.second) %
        (1000000007 + 2);
    if (a != b) {
      lazy[node * 2] = value;
      lazy[node * 2 + 1] = value;
    }
    return;
  }
  update_tree(node * 2, a, (a + b) / 2, i, j, value);
  update_tree(1 + node * 2, 1 + (a + b) / 2, b, i, j, value);
  int rsz = b - (a + b) / 2;
  tree[node] = {
      (tree[node * 2].first * pwr[rsz].first + tree[node * 2 + 1].first) %
          1000000007,
      (tree[node * 2].second * pwr[rsz].second + tree[node * 2 + 1].second) %
          (1000000007 + 2)};
}
pair<pair<long long, long long>, int> query_tree(int node, int a, int b, int i,
                                                 int j) {
  if (a > b || a > j || b < i) return {{0, 0}, 0};
  if (lazy[node]) {
    tree[node].first =
        ((lazy[node] * ((pwr[b - a + 1].first - 1 + 1000000007) % 1000000007)) %
         1000000007 * inv.first) %
        1000000007;
    tree[node].second =
        ((lazy[node] *
          ((pwr[b - a + 1].second - 1 + 1000000007 + 2) % (1000000007 + 2))) %
         (1000000007 + 2) * inv.second) %
        (1000000007 + 2);
    if (a != b) {
      lazy[node * 2] = lazy[node];
      lazy[node * 2 + 1] = lazy[node];
    }
    lazy[node] = 0;
  }
  if (a >= i && b <= j) return {tree[node], b - a + 1};
  pair<pair<long long, long long>, int> q1, q2, res;
  q1 = query_tree(node * 2, a, (a + b) / 2, i, j);
  q2 = query_tree(1 + node * 2, 1 + (a + b) / 2, b, i, j);
  res.second = q1.second + q2.second;
  res.first = {
      (q1.first.first * pwr[q2.second].first + q2.first.first) % 1000000007,
      (q1.first.second * pwr[q2.second].second + q2.first.second) %
          (1000000007 + 2)};
  return res;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int i, n, m, k, q, t, l, r, d;
  pair<long long, long long> q1, q2, q3, q4;
  inv = {power(11 - 1, 1000000007 - 2, 1000000007),
         power(11 - 1, 1000000007, 1000000007 + 2)};
  for (i = 1, pwr[0] = {1, 1}; i <= 100000; i++) {
    pwr[i].first = (pwr[i - 1].first * 11) % 1000000007;
    pwr[i].second = (pwr[i - 1].second * 11) % (1000000007 + 2);
  }
  cin >> n >> m >> k >> s;
  q = m + k;
  build_tree(1, 1, n);
  while (q--) {
    cin >> t >> l >> r >> d;
    if (t == 1)
      update_tree(1, 1, n, l, r, d + 1);
    else {
      q1 = query_tree(1, 1, n, l, l + d - 1).first;
      q2 = query_tree(1, 1, n, l, l + ((r - l + 1) / d) * d - 1).first;
      q1.first =
          (q1.first *
           ((pwr[((r - l + 1) / d) * d].first - 1 + 1000000007) % 1000000007)) %
          1000000007;
      q1.second = (q1.second *
                   ((pwr[((r - l + 1) / d) * d].second - 1 + 1000000007 + 2) %
                    (1000000007 + 2))) %
                  (1000000007 + 2);
      q2.first = (q2.first * ((pwr[d].first - 1 + 1000000007) % 1000000007)) %
                 1000000007;
      q2.second = (q2.second *
                   ((pwr[d].second - 1 + 1000000007 + 2) % (1000000007 + 2))) %
                  (1000000007 + 2);
      q3 = query_tree(1, 1, n, l, l + (r - l + 1) % d - 1).first;
      q4 = query_tree(1, 1, n, r - (r - l + 1) % d + 1, r).first;
      if (q1 == q2 && q3 == q4)
        cout << "YES" << '\n';
      else
        cout << "NO" << '\n';
    }
  }
  return 0;
}