Fox Ciel has a robot on a 2D plane. Initially it is located in (0, 0). Fox Ciel code a command to it. The command was represented by string s. Each character of s is one move operation. There are four move operations at all:

  * 'U': go up, (x, y)  →  (x, y+1); 
  * 'D': go down, (x, y)  →  (x, y-1); 
  * 'L': go left, (x, y)  →  (x-1, y); 
  * 'R': go right, (x, y)  →  (x+1, y). 



The robot will do the operations in s from left to right, and repeat it infinite times. Help Fox Ciel to determine if after some steps the robot will located in (a, b).

Input

The first line contains two integers a and b, ( - 109 ≤ a, b ≤ 109). The second line contains a string s (1 ≤ |s| ≤ 100, s only contains characters 'U', 'D', 'L', 'R') — the command.

Output

Print "Yes" if the robot will be located at (a, b), and "No" otherwise.

Examples

Input

2 2
RU


Output

Yes


Input

1 2
RU


Output

No


Input

-1 1000000000
LRRLU


Output

Yes


Input

0 0
D


Output

Yes

Note

In the first and second test case, command string is "RU", so the robot will go right, then go up, then right, and then up and so on.

The locations of its moves are (0, 0)  →  (1, 0)  →  (1, 1)  →  (2, 1)  →  (2, 2)  →  ...

So it can reach (2, 2) but not (1, 2).
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args) {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		InputReader in = new InputReader(inputStream);
		PrintWriter out = new PrintWriter(outputStream);
		Task solver = new Task();
		solver.solve(in, out);
		out.close();
	}
	
}

class Task {
	public void solve(InputReader in, PrintWriter out) {
		int a,b;
		a = in.nextInt();
		b = in.nextInt();
		String s = in.nextString();
		int posX = 0;
		int posY = 0;
		for (int i = 0; i < s.length(); i++) {
			if (s.charAt(i) == 'R')
				posX++;
			else if (s.charAt(i) == 'L')
				posX--;
			else if (s.charAt(i) == 'U')
				posY++;
			else
				posY--;
		}
		int mX= 0;
		int mY = 0;
		for (int i = 0; i <= s.length(); i++) {
			if ((a-mX) != 0 && posX == 0);
			else if (b-mY != 0 && posY == 0);
			else if (posX == 0 && posY == 0) {
				out.println("Yes");
				return;
			}
			else if (posX == 0) {
				if ((b-mY) % posY == 0 && (b-mY)/posY >= 0) {
					out.println("Yes");
					return;
				}
			}
			else if (posY == 0) {
				if ((a-mX) % posX == 0 && (a-mX)/posX >= 0) {
					out.println("Yes");
					return;
				}
			}
			else if ((a-mX) % posX == 0 && (b-mY)%posY == 0 && (a-mX)/posX == (b-mY)/posY && (a-mX)/posX >=0)
			{
				out.println("Yes");
				return;
			}
			if (i == s.length()) {
				out.println("No");
				return;
			}
			if (s.charAt(i) == 'R')
				mX++;
			else if (s.charAt(i) == 'L')
				mX--;
			else if (s.charAt(i) == 'U')
				mY++;
			else
				mY--;
		}
	}
}

class InputReader {
	private BufferedReader input;
	private StringTokenizer line = new StringTokenizer("");
	public InputReader() {
		this(System.in);
	}
	public InputReader(InputStream in) {
		input = new BufferedReader(new InputStreamReader(in));
	}
	public InputReader(String s) {
		try {
			input = new BufferedReader(new FileReader(s));
		} catch(IOException io) { io.printStackTrace(); System.exit(0);}
	}
	public void fill() {
		try {
			if(!line.hasMoreTokens()) line = new StringTokenizer(input.readLine());
		} catch(IOException io) { io.printStackTrace(); System.exit(0);}
	}

	public int nextInt() {
		fill();
		return Integer.parseInt(line.nextToken());
	}
	
	public double nextDouble() {
		fill();
		return Double.parseDouble(line.nextToken());
	}
	
	public String nextString() {
		fill();
		return line.nextToken();
	}
}