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>
void print_container(ostream& os, const T& c) {
  const char* _s = " ";
  if (!c.empty()) {
    __typeof__(c.begin()) last = --c.end();
    for (__typeof__((c).begin()) it = (c).begin(); it != (c).end(); ++it) {
      os << *it;
      if (it != last) os << _s;
    }
  }
}
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& c) {
  print_container(os, c);
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const set<T>& c) {
  print_container(os, c);
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const multiset<T>& c) {
  print_container(os, c);
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const deque<T>& c) {
  print_container(os, c);
  return os;
}
template <typename T, typename U>
ostream& operator<<(ostream& os, const map<T, U>& c) {
  print_container(os, c);
  return os;
}
template <typename T, typename U>
ostream& operator<<(ostream& os, const pair<T, U>& p) {
  os << "(" << p.first << ", " << p.second << ")";
  return os;
}
template <typename T>
void print(T a, int n, const string& split = " ") {
  for (int i = 0; i < n; i++) {
    cout << a[i];
    if (i + 1 != n) cout << split;
  }
  cout << endl;
}
template <typename T>
void print2d(T a, int w, int h, int width = -1, int br = 0) {
  for (int i = 0; i < h; ++i) {
    for (int j = 0; j < w; ++j) {
      if (width != -1) cout.width(width);
      cout << a[i][j] << ' ';
    }
    cout << endl;
  }
  while (br--) cout << endl;
}
template <typename T>
void input(T& a, int n) {
  for (int i = 0; i < n; ++i) cin >> a[i];
}
template <typename T, typename U>
void upmin(T& a, const U& b) {
  a = min<T>(a, b);
}
template <typename T, typename U>
void upmax(T& a, const U& b) {
  a = max<T>(a, b);
}
template <typename T>
void uniq(T& a) {
  sort(a.begin(), a.end());
  a.erase(unique(a.begin(), a.end()), a.end());
}
template <class T>
string to_s(const T& a) {
  ostringstream os;
  os << a;
  return os.str();
}
template <class T>
T to_T(const string& s) {
  istringstream is(s);
  T res;
  is >> res;
  return res;
}
void fast_io() {
  cin.tie(0);
  ios::sync_with_stdio(false);
}
bool in_rect(int x, int y, int w, int h) {
  return 0 <= x && x < w && 0 <= y && y < h;
}
const int dx[] = {0, 1, 0, -1};
const int dy[] = {1, 0, -1, 0};
const unsigned long long mod = ((long long)(1e9)) + 7;
class MulSeg {
 public:
  MulSeg(int n_, unsigned long long base) : n(1) {
    while (n < n_) n *= 2;
    data.resize(2 * n, Node{0, -1});
    base_pow.resize(n + 1);
    sum_base_pow.resize(n + 1);
    base_pow[0] = 1;
    for (int i = 0; i < n; ++i) {
      base_pow[i + 1] = base * base_pow[i] % mod;
      sum_base_pow[i + 1] = (sum_base_pow[i] + base_pow[i]) % mod;
    }
  }
  void update(int x, int a, int b) { update(x, 0, a, b, 0, n); }
  unsigned long long query(int a, int b) { return query(0, a, b, 0, n); }

 private:
  void update(int x, int k, int a, int b, int l, int r) {
    if (b <= l || r <= a)
      return;
    else if (a <= l && r <= b) {
      data[k].hash = x * sum_base_pow[r - l] % mod;
      data[k].lazy = x;
      return;
    }
    assert(r - l > 1);
    propagate(k, l, r);
    int mid = (l + r) / 2;
    update(x, 2 * k + 1, a, b, l, mid);
    update(x, 2 * k + 2, a, b, mid, r);
    data[k].hash =
        (data[2 * k + 1].hash * base_pow[(r - l) / 2] + data[2 * k + 2].hash) %
        mod;
    assert(data[k].lazy == -1);
  }
  void propagate(int k, int l, int r) {
    if (data[k].lazy == -1 || r - l == 1) return;
    auto& left = data[2 * k + 1];
    auto& right = data[2 * k + 2];
    left.hash = right.hash = data[k].lazy * sum_base_pow[(r - l) / 2] % mod;
    left.lazy = right.lazy = data[k].lazy;
    data[k].lazy = -1;
  }
  unsigned long long query(int k, int a, int b, int l, int r) {
    if (b <= l || r <= a)
      return 0;
    else if (a <= l && r <= b)
      return data[k].hash;
    propagate(k, l, r);
    int mid = (l + r) / 2;
    unsigned long long left_hash = query(2 * k + 1, a, b, l, mid);
    unsigned long long right_hash = query(2 * k + 2, a, b, mid, r);
    return (left_hash * base_pow[max(0, min(r, b) - mid)] + right_hash) % mod;
  }
  struct Node {
    unsigned long long hash;
    int lazy;
  };
  int n;
  vector<Node> data;
  vector<unsigned long long> base_pow;
  vector<unsigned long long> sum_base_pow;
};
int main() {
  fast_io();
  int n, m, k;
  cin >> n >> m >> k;
  string s;
  cin >> s;
  MulSeg seg(n, 1451804191);
  for (int i = 0; i < (int)(n); ++i) seg.update(s[i], i, i + 1);
  for (int qi = 0; qi < (int)(m + k); ++qi) {
    int op, l, r, x;
    cin >> op >> l >> r >> x;
    --l;
    if (op == 1) {
      seg.update('0' + x, l, r);
    } else {
      bool yes = seg.query(l, r - x) == seg.query(l + x, r);
      cout << (yes ? "YES" : "NO") << endl;
    }
  }
}