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 NMAX = 100010, MLT = 29221, MOD1 = 666013, MOD2 = 838751;
int N, M, K;
int p1[NMAX], p2[NMAX], s[NMAX];
char S[NMAX];
struct Node {
  int h1, h2, lazy;
} T[4 * NMAX];
struct QueryRet {
  int h1, h2, dim;
  QueryRet(int h1, int h2, int dim) {
    this->h1 = h1;
    this->h2 = h2;
    this->dim = dim;
  }
  QueryRet() {}
  bool operator==(const QueryRet &rhs) const { return (h1 == rhs.h1); }
} WTF;
int FastExpo(int base, int exp, int MOD) {
  if (exp < 0) return 0;
  int ret = 1;
  while (exp) {
    if (exp & 1) ret = (1LL * ret * base) % MOD;
    base = (1LL * base * base) % MOD;
    exp >>= 1;
  }
  return ret;
}
int ExtendHash(int h1, int h2, int per, int dim) {
  int remainder = dim % per;
  int hm = dim / per;
  int q1 = p1[per];
  int _q1 = ((q1 - 1) % MOD1 + MOD1) % MOD1;
  int modinv1 = FastExpo(_q1, MOD1 - 2, MOD1);
  int upper1 = FastExpo(q1, hm, MOD1);
  int _upper1 = ((upper1 - 1) % MOD1 + MOD1) % MOD1;
  int first = (1LL * h1 * _upper1 * modinv1) % MOD1;
  int second = -1;
  if (remainder) {
    first = (1LL * first * p1[remainder] + WTF.h1) % MOD1;
  }
  return first;
}
void LazyNode(int node, int left, int right) {
  if (T[node].lazy == 0) return;
  T[node * 2].lazy = T[node * 2 + 1].lazy = T[node].lazy;
  T[node].lazy = 0;
  int mid = (left + right) / 2;
  T[node * 2].h1 = (1LL * T[node * 2].lazy * s[mid - left]) % MOD1;
  T[node * 2 + 1].h1 = (1LL * T[node * 2 + 1].lazy * s[right - mid - 1]) % MOD1;
}
void UpdateTree(int node, int left, int right, int qleft, int qright,
                int value) {
  if (qleft <= left && qright >= right) {
    T[node].lazy = value;
    T[node].h1 = ExtendHash(value, value, 1, right - left + 1);
    return;
  }
  if (left >= right) return;
  LazyNode(node, left, right);
  int mid = (left + right) / 2;
  if (qleft <= mid) UpdateTree(node * 2, left, mid, qleft, qright, value);
  if (qright > mid)
    UpdateTree(node * 2 + 1, mid + 1, right, qleft, qright, value);
  T[node].h1 =
      ((1LL * T[node * 2].h1 * p1[right - mid]) % MOD1 + T[node * 2 + 1].h1) %
      MOD1;
}
QueryRet Query(int node, int left, int right, int qleft, int qright) {
  if (qleft <= left && qright >= right)
    return QueryRet(T[node].h1, T[node].h2, right - left + 1);
  if (left >= right) {
    return QueryRet(-1, -1, -1);
  }
  LazyNode(node, left, right);
  int mid = (left + right) / 2;
  QueryRet ret1 = QueryRet(-1, -1, -1), ret2 = QueryRet(-1, -1, -1);
  if (qleft <= mid) ret1 = Query(node * 2, left, mid, qleft, qright);
  if (qright > mid) ret2 = Query(node * 2 + 1, mid + 1, right, qleft, qright);
  if (ret1 == QueryRet(-1, -1, -1)) return ret2;
  if (ret2 == QueryRet(-1, -1, -1)) return ret1;
  int first = ((1LL * ret1.h1 * p1[ret2.dim]) % MOD1 + ret2.h1) % MOD1;
  int second = -1;
  return QueryRet(first, second, ret1.dim + ret2.dim);
}
void BuildTree(int node, int left, int right) {
  if (left > right) return;
  if (left == right) {
    T[node].h1 = T[node].h2 = S[left];
    return;
  }
  int mid = (left + right) / 2;
  BuildTree(node * 2, left, mid);
  BuildTree(node * 2 + 1, mid + 1, right);
  T[node].h1 =
      ((1LL * T[node * 2].h1 * p1[right - mid]) % MOD1 + T[node * 2 + 1].h1) %
      MOD1;
}
int main() {
  ios_base::sync_with_stdio(false);
  int i, j;
  scanf("%d %d %d\n", &N, &M, &K);
  scanf("%s\n", S + 1);
  for (i = 1; i <= N; ++i) {
    S[i] -= '0';
    if (S[i] == 0) S[i] = 10;
  }
  p1[0] = p2[0] = 1;
  for (i = 1; i <= N; ++i) {
    p1[i] = (1LL * p1[i - 1] * MLT) % MOD1;
  }
  s[0] = 1;
  for (i = 1; i <= N; ++i) s[i] = (s[i - 1] + p1[i]) % MOD1;
  BuildTree(1, 1, N);
  M += K;
  int op, l, r, c;
  for (i = 1; i <= M; ++i) {
    scanf("%d %d %d %d\n", &op, &l, &r, &c);
    if (op == 1) {
      if (c == 0) c = 10;
      UpdateTree(1, 1, N, l, r, c);
    } else {
      QueryRet tot, buc;
      tot = Query(1, 1, N, l, r);
      buc = Query(1, 1, N, l, l + c - 1);
      int dim = r - l + 1;
      int per = c;
      int remainder = dim % per;
      if (remainder) WTF = Query(1, 1, N, l, l + remainder - 1);
      if (ExtendHash(buc.h1, buc.h2, c, r - l + 1) == tot.h1)
        cout << "YES\n";
      else
        cout << "NO\n";
    }
  }
  return 0;
}