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 JAVA):

Solution:
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Random;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.InputStreamReader;
import java.io.IOException;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Artem Gilmudinov
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Reader in = new Reader(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        Task solver = new Task();
        solver.solve(1, in, out);
        out.close();
    }

    static class Task {
        long base;
        long mod;
        long[] sumBases;

        public void solve(int testNumber, Reader in, PrintWriter out) {
            int n, m, k;
            n = in.ni();
            m = in.ni();
            k = in.ni();
            int[] a = new int[n];
            String s = in.rl();
            for (int i = 0; i < n; i++) {
                a[i] = s.charAt(i) - '0' + 1;
            }
            Random rnd = new Random();
            mod = (int) 1e9 + rnd.nextInt((int) 1e3);
            while (!Utils.isPrime(mod)) {
                ++mod;
            }
            base = 23;
            sumBases = new long[n + 1];
            long[] pows = new long[n + 1];
            pows[0] = 1;
            for (int i = 1; i <= n; i++) {
                sumBases[i] = (sumBases[i - 1] + pows[i - 1]) % mod;
                pows[i] = (pows[i - 1] * base) % mod;
            }
            SegmentTree st = new SegmentTree(n);
            for (int i = 0; i < n; i++) {
                st.update(i, i, 0, st.leafs - 1, 0, a[i]);
            }
            long fi, se;
            for (int i = 0; i < m + k; i++) {
                int t, l, r, c;
                t = in.ni();
                l = in.ni() - 1;
                r = in.ni() - 1;
                c = in.ni();
                if (t == 1) {
                    st.update(l, r, 0, st.leafs - 1, 0, c + 1);
                } else {
                    int rem = (r - l + 1) % c;
                    int cnt = (r - l + 1) / c;
                    fi = st.get(l, l + (cnt - 1) * c + rem - 1, 0, st.leafs - 1, 0);
                    if (fi < 0) {
                        fi += mod;
                    }
                    se = st.get(l + c, r, 0, st.leafs - 1, 0);
                    if (se < 0) {
                        se += mod;
                    }
                    fi = (fi * pows[c]) % mod;
                    if (fi == se) {
                        out.println("YES");
                    } else {
                        out.println("NO");
                    }
                }
            }

        }

        class SegmentTree {
            long[] v;
            long[] b;
            int leafs;

            public SegmentTree(int n) {
                leafs = 1;
                while (leafs < n) {
                    leafs <<= 1;
                }
                v = new long[2 * leafs - 1];
                b = new long[2 * leafs - 1];
            }

            public void push(int node, int l, int r) {
                if (v[node] == 0) {
                    return;
                }
                int mid = l + (r - l) / 2;
                v[node * 2 + 1] = v[node];
                v[node * 2 + 2] = v[node];
                b[node * 2 + 1] = ((sumBases[mid + 1] - sumBases[l]) * v[node]) % mod;
                b[node * 2 + 2] = ((sumBases[r + 1] - sumBases[mid + 1]) * v[node]) % mod;
                v[node] = 0;
            }

            public long get(int ql, int qr, int tl, int tr, int node) {
                if (ql > qr) {
                    return 0;
                }
                if (tl == ql && tr == qr) {
                    if (v[node] != 0) {
                        b[node] = ((sumBases[tr + 1] - sumBases[tl]) * v[node]) % mod;
                    }
                    return b[node];
                }
                push(node, tl, tr);
                int mid = tl + (tr - tl) / 2;
                long res = get(ql, Math.min(qr, mid), tl, mid, node * 2 + 1) + get(Math.max(ql, mid + 1), qr, mid + 1, tr, node * 2 + 2);
                b[node] = (b[node * 2 + 1] + b[node * 2 + 2]) % mod;
                return res % mod;

            }

            public void update(int ql, int qr, int tl, int tr, int node, int val) {
                if (ql > qr) {
                    return;
                }
                if (tl == ql && tr == qr) {
                    v[node] = val;
                    b[node] = ((sumBases[tr + 1] - sumBases[tl]) * val) % mod;
                    return;
                }
                push(node, tl, tr);
                int mid = tl + (tr - tl) / 2;
                update(ql, Math.min(qr, mid), tl, mid, node * 2 + 1, val);
                update(Math.max(ql, mid + 1), qr, mid + 1, tr, node * 2 + 2, val);
                b[node] = (b[node * 2 + 1] + b[2 * node + 2]) % mod;
            }

        }

    }

    static class Reader {
        private BufferedReader in;
        private StringTokenizer st = new StringTokenizer("");
        private String delim = " ";

        public Reader(InputStream in) {
            this.in = new BufferedReader(new InputStreamReader(in));
        }

        public String next() {
            if (!st.hasMoreTokens()) {
                st = new StringTokenizer(rl());
            }
            return st.nextToken(delim);
        }

        public String rl() {
            try {
                return in.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }

        public int ni() {
            return Integer.parseInt(next());
        }

    }

    static class Utils {
        public static boolean isPrime(long x) {
            if (x <= 1) {
                return false;
            }
            for (long i = 2; i * i <= x; i++) {
                if (x % i == 0) {
                    return false;
                }
            }
            return true;
        }

    }
}