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.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.List;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
import java.util.ArrayList;
public class Code {
	public static void main(String[] args) {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		InputReader in = new InputReader(inputStream);
		PrintWriter out = new PrintWriter(outputStream);
		TaskE solver = new TaskE();
		solver.solve(1, in, out);
		out.close();
	}
	static class TaskE {
		static int MOD1 = 1000000007;
		static int MOD2 = 1000000009;
		static int BASE = 727;
		static int pb1[], pb2[];
		public void solve(int testNumber, InputReader input, PrintWriter output) {
			int n = input.nextInt();
			pb1 = new int[n + 2];
			pb2 = new int[n + 2];
			pb1[0] = pb2[0] = 1;
			for (int i = 1; i < n + 2; i++) {
				pb1[i] = (int)((long)pb1[i - 1] * BASE % MOD1);
				pb2[i] = (int)((long)pb2[i - 1] * BASE % MOD2);
			}
			int q = input.nextInt() + input.nextInt();
			String s = input.next();
			Node nodes[] = new Node[4 * n];
			build(1, 0, n, s, nodes);
			for (int i = 0; i < q; i++) {
				int type = input.nextInt();
				if (type == 1) {
					int l = input.nextInt() - 1;
					int r = input.nextInt();
					int val = input.nextInt() + 1;
					set(l, r, val, 1, 0, n, nodes);
				}
				else {
					int l = input.nextInt() - 1;
					int r = input.nextInt();
					int val = input.nextInt();
					if (val >= r - l)
						output.println("YES");
					else {
						Node x = get(l, r - val, 1, 0, n, nodes);
						Node y = get(l + val, r, 1, 0, n, nodes);
						if (x.getHash() == y.getHash())
							output.println("YES");
						else
							output.println("NO");
					}
				}
			}
		}
		Node merge(Node a, Node b) {
			if (a.l == -1)
				return b;
			if (b.l == -1)
				return a;
			Node ans = new Node();
			ans.l = a.l;
			ans.r = b.r;
			ans.hash1 = (int)(((long)a.hash1 * pb1[b.r - b.l] + b.hash1) % MOD1);
			ans.hash2 = (int)(((long)a.hash2 * pb2[b.r - b.l] + b.hash2) % MOD2);
			return ans;
		}
		void shift(int v, Node[] nodes) {
			if (nodes[v].lazy == -1)
				return;
			nodes[2 * v].set(nodes[v].lazy);
			nodes[2 * v + 1].set(nodes[v].lazy);
			nodes[v].lazy = -1;
		}
		private void build(int v, int s, int e, String str, Node[] nodes) {
			nodes[v] = new Node();
			if (e - s < 2) {
				int val = str.charAt(s) - '0';
				val++;
				nodes[v].hash1 = nodes[v].hash2 = val;
				nodes[v].l = s;
				nodes[v].r = e;
				return;
			}
			int mid = (s + e) / 2;
			build(2 * v, s, mid, str, nodes);
			build(2 * v + 1, mid, e, str, nodes);
			nodes[v] = merge(nodes[2 * v], nodes[2 * v + 1]);
		}
		private void set(int l, int r, int val, int v, int s, int e, Node[] nodes) {
			if (l <= s && e <= r) {
				nodes[v].set(val);
				return;
			}
			if (e <= l || r <= s)
				return;
			shift(v, nodes);
			int mid = (s + e) / 2;
			set(l, r, val, 2 * v, s, mid, nodes);
			set(l, r, val, 2 * v + 1, mid, e, nodes);
			nodes[v] = merge(nodes[2 * v], nodes[2 * v + 1]);
		}
		private Node get(int l, int r, int v, int s, int e, Node[] nodes) {
			if (l <= s && e <= r)
				return nodes[v];
			if (e <= l || r <= s) {
				Node empty = new Node();
				empty.l = empty.r = -1;
				return empty;
			}
			shift(v, nodes);
			int mid = (s + e) / 2;
			return merge(get(l, r, 2 * v, s, mid, nodes), get(l, r, 2 * v + 1, mid, e, nodes));
		}
		public static int bpow(int a, int b, int m) {
			int ans = 1;
			while (b > 0) {
				if ((b & 1) == 1)
					ans = (int)((long)ans * a % m);
				b >>= 1;
				a = (int)((long)a * a % m);
			}
			return ans;
		}
		static int inv1 = bpow(BASE - 1, MOD1 - 2, MOD1);
		static int inv2 = bpow(BASE - 1, MOD2 - 2, MOD2);
		static class Node {
			int hash1, hash2, l, r, lazy;
			public Node() {
				hash1 = hash2 = l = r = 0;
				lazy = -1;
			}
			public void set(int val) {
				this.hash1 = (int)((long)(pb1[this.r - this.l] - 1) * inv1 % MOD1);
				this.hash1 = (int)((long)this.hash1 * val % MOD1);
				this.hash2 = (int)((long)(pb2[this.r - this.l] - 1) * inv2 % MOD2);
				this.hash2 = (int)((long)this.hash2 * val % MOD2);
				this.lazy = val;
			}
			public long getHash() {
				return (long)this.hash1 * MOD2 + this.hash2;
			}
		}
	}
	static class InputReader {
		public BufferedReader reader;
		public StringTokenizer tokenizer;
		public InputReader(InputStream stream) {
			reader = new BufferedReader(new InputStreamReader(stream), 32768);
			tokenizer = null;
		}
		public String next() {
			while (tokenizer == null || !tokenizer.hasMoreTokens()) {
				try {
					tokenizer = new StringTokenizer(reader.readLine());
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			}
			return tokenizer.nextToken();
		}
		public int nextInt() {
			return Integer.parseInt(next());
		}
	}
}