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 LIM = 1e+5 + 10;
const int MOD = 987100417;
const int BASE = 37;
const int NUMS = 10;
struct node {
  long long l, r, pos, hash, val;
  node() : l(-1), r(-1), pos(-1), hash(-1), val(-1) {}
};
node tree[2 * LIM];
int size = 1;
int root = 0;
long long powers[LIM];
int n, m, k;
string s;
long long pref_hash[LIM][NUMS];
void normalize(long long& hash) {
  if (hash < 0) hash += MOD;
  if (hash >= MOD) hash -= MOD;
}
void init() {
  powers[0] = 1;
  for (int i = 1; i < LIM; ++i) powers[i] = powers[i - 1] * BASE % MOD;
  for (int i = 0; i < NUMS; ++i) {
    pref_hash[0][i] = i + '0';
    for (int j = 1; j + 1 < LIM; ++j)
      pref_hash[j][i] =
          ((powers[j] * (i + '0')) % MOD + pref_hash[j - 1][i]) % MOD;
  }
}
long long get_hash(int l, int r, int c) {
  long long hash = pref_hash[r][c];
  if (l > 0) hash -= pref_hash[l - 1][c];
  normalize(hash);
  return hash;
}
void build(int v, int l, int r) {
  if (r == l) {
    tree[v].pos = l;
    tree[v].val = s[l] - '0';
    tree[v].hash = powers[l] * s[l] % MOD;
    return;
  }
  tree[v].val = -1;
  int m = (r + l) / 2;
  tree[v].l = size;
  ++size;
  tree[v].r = size;
  ++size;
  build(tree[v].l, l, m);
  build(tree[v].r, m + 1, r);
  tree[v].hash = (tree[tree[v].l].hash + tree[tree[v].r].hash) % MOD;
}
void push(int v, int l, int r, int c) {
  int m = (l + r) / 2;
  tree[tree[v].l].val = c;
  tree[tree[v].l].hash = get_hash(l, m, c);
  tree[tree[v].r].val = c;
  tree[tree[v].r].hash = get_hash(m + 1, r, c);
  tree[v].val = -1;
}
void update(int v, int l, int r, int cl, int cr, int c) {
  if (cl == l && cr == r) {
    tree[v].val = c;
    tree[v].hash = get_hash(cl, cr, c);
    return;
  }
  int m = (l + r) / 2;
  if (tree[v].val != -1) push(v, l, r, tree[v].val);
  if (cr <= m) {
    update(tree[v].l, l, m, cl, cr, c);
  } else if (cl > m) {
    update(tree[v].r, m + 1, r, cl, cr, c);
  } else {
    update(tree[v].l, l, m, cl, m, c);
    update(tree[v].r, m + 1, r, m + 1, cr, c);
  }
  tree[v].hash = (tree[tree[v].l].hash + tree[tree[v].r].hash) % MOD;
}
int get(int v, int l, int r, int cl, int cr) {
  if (cl == l && cr == r) return tree[v].hash;
  int m = (l + r) / 2;
  if (tree[v].val != -1) push(v, l, r, tree[v].val);
  if (cr <= m)
    return get(tree[v].l, l, m, cl, cr);
  else if (cl > m)
    return get(tree[v].r, m + 1, r, cl, cr);
  else
    return (get(tree[v].l, l, m, cl, m) + get(tree[v].r, m + 1, r, m + 1, cr)) %
           MOD;
}
int bin_pow(int x, int p) {
  if (p == 0) return 1;
  if (p == 1) return x;
  int t = bin_pow(x, p / 2);
  t = 1LL * t * t % MOD;
  if (p & 1)
    return 1LL * x * t % MOD;
  else
    return t;
}
int get_rev(int x) { return bin_pow(x, MOD - 2); }
int get_long_hash(long long hash, int cnt, int len) {
  int q = powers[len];
  return (hash * ((bin_pow(q, cnt) - 1 + MOD) % MOD) % MOD) *
         get_rev((q - 1 + MOD) % MOD) % MOD;
}
void print(int v, int l, int r) {
  if (v == -1) return;
  cout << "INTERVAL: " << l << " " << r << endl;
  cout << "NODE: " << v << " " << tree[v].l << " " << tree[v].r << endl;
  cout << tree[v].hash << " " << tree[v].val << endl;
  print(tree[v].l, l, (r + l) / 2);
  print(tree[v].r, (r + l) / 2 + 1, r);
}
int main() {
  init();
  cin >> n >> m >> k >> s;
  build(root, 0, n - 1);
  for (int i = 0; i < m + k; ++i) {
    int cmd, l, r, val;
    cin >> cmd >> l >> r >> val;
    --l;
    --r;
    if (cmd == 1) {
      update(root, 0, n - 1, l, r, val);
    } else {
      long long hash = get(root, 0, n - 1, l, l + val - 1);
      int cnt = (r - l + 1) / val;
      bool res = false;
      if ((r - l + 1) % val != 0) {
        int rr = r;
        rr -= (r - l + 1) % val;
        if ((get_long_hash(hash, cnt, val) == get(root, 0, n - 1, l, rr)) &&
            (1LL * get(root, 0, n - 1, l, l + (r - l + 1) % val - 1) *
                 powers[rr - l + 1] % MOD ==
             get(root, 0, n - 1, r - (r - l + 1) % val + 1, r)))
          res = true;
      } else {
        if (get_long_hash(hash, cnt, val) == get(root, 0, n - 1, l, r))
          res = true;
      }
      if (res)
        cout << "YES\n";
      else
        cout << "NO\n";
    }
  }
  return 0;
}