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;
template <typename T, typename U>
struct seg_tree_lazy {
  int S, H;
  T def, zero;
  vector<T> value;
  U noop;
  vector<U> prop;
  void build() {
    for (int i = S - 1; i > 0; i--) value[i] = value[2 * i] + value[2 * i + 1];
  }
  void init(int _S) {
    for (S = 1, H = 1; S < _S;) S *= 2, H++;
    value.resize(2 * S, zero);
    prop.resize(2 * S, noop);
    fill(value.begin() + S, value.begin() + S + _S, def);
    build();
  }
  seg_tree_lazy<T, U>(int _S, T _def = T(), T _zero = T(), U _noop = U()) {
    def = _def, zero = _zero, noop = _noop;
    init(_S);
  }
  void set_leaves(vector<T> &leaves) {
    copy(leaves.begin(), leaves.end(), value.begin() + S);
    fill(value.begin() + S + leaves.size(), value.end(), zero);
    build();
  }
  void apply(int i, U update) {
    value[i] = update(value[i]);
    if (i < S) prop[i] = prop[i] + update;
  }
  void rebuild(int i) {
    for (int l = i / 2; l; l /= 2) {
      T combined = value[2 * l] + value[2 * l + 1];
      value[l] = prop[l](combined);
    }
  }
  void propagate(int i) {
    for (int h = H; h > 0; h--) {
      int l = i >> h;
      if (memcmp(&prop[l], &noop, sizeof(U))) {
        apply(2 * l, prop[l]);
        apply(2 * l + 1, prop[l]);
        prop[l] = noop;
      }
    }
  }
  void upd(int i, int j, U update) {
    i += S, j += S;
    propagate(i), propagate(j);
    for (int l = i, r = j; l <= r; l /= 2, r /= 2) {
      if ((l & 1) == 1) apply(l++, update);
      if ((r & 1) == 0) apply(r--, update);
    }
    rebuild(i), rebuild(j);
  }
  T query(int i, int j) {
    i += S, j += S;
    propagate(i), propagate(j);
    T res_left = zero, res_right = zero;
    for (; i <= j; i /= 2, j /= 2) {
      if ((i & 1) == 1) res_left = res_left + value[i++];
      if ((j & 1) == 0) res_right = value[j--] + res_right;
    }
    return res_left + res_right;
  }
};
const int NPRIME = 3;
const int P1 = 1e9 + 7, P2 = 1e9 + 9, P3 = 1e9 + 21;
const int primes[3] = {P1, P2, P3};
struct mods {
  int vals[NPRIME];
  mods(long long value = 0) {
    for (int i = 0; i < NPRIME; i++) vals[i] = value % primes[i];
  }
  bool operator==(const mods &h) { return !memcmp(this, &h, sizeof(mods)); }
  mods operator*(const mods &h) {
    mods res;
    for (int i = 0; i < NPRIME; i++)
      res.vals[i] = (vals[i] * 1ll * h.vals[i]) % primes[i];
    return res;
    ;
  }
  mods operator+(const mods &h) {
    mods res;
    for (int i = 0; i < NPRIME; i++)
      res.vals[i] = (vals[i] + h.vals[i]) % primes[i];
    return res;
    ;
  }
  mods operator*(long long m) { return (*this) * mods(m); }
  mods operator+(long long a) { return (*this) + mods(a); }
};
const int BASE = 1009;
const int MAXL = 1e5 + 100;
mods powers[MAXL], powsum[MAXL];
void init() {
  powers[0] = mods(1);
  powsum[0] = powers[0];
  for (int i = 1; i < MAXL; i++) {
    powers[i] = powers[i - 1] * BASE;
    powsum[i] = powsum[i - 1] + powers[i];
  }
}
struct node {
  int l;
  mods hash;
  node operator+(const node &o) {
    return {l + o.l, hash * powers[o.l] + o.hash};
  }
};
struct update {
  int v;
  node operator()(node &n) {
    if (v == -1) return n;
    return {n.l, powsum[n.l - 1] * v};
  }
  update operator+(const update &o) { return o; }
};
int N, M, K;
string input;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0), cout.tie(0), cout.precision(15);
  init();
  cin >> N >> M >> K;
  cin >> input;
  seg_tree_lazy<node, update> st(N, {0, 0}, {0, 0}, {-1});
  vector<node> leaves;
  for (char c : input) leaves.push_back({1, mods(c)});
  st.set_leaves(leaves);
  for (int q = 0; q < M + K; q++) {
    int t, l, r, v;
    cin >> t >> l >> r >> v;
    l--, r--;
    if (t == 1) {
      st.upd(l, r, {'0' + v});
    } else {
      if (l > r - v) {
        cout << "YES\n";
        continue;
      }
      mods h1 = st.query(l, r - v).hash;
      mods h2 = st.query(l + v, r).hash;
      if (h1 == h2)
        cout << "YES\n";
      else
        cout << "NO\n";
    }
  }
}