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).
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Hoang
 */
import java.io.*;
import java.util.*;

public class C {

    private static BufferedReader reader;
    private static PrintWriter out;
    private static StringTokenizer tokenizer;
    //private final static String filename = "filename";

    private static void init(InputStream input, OutputStream output) throws IOException {
        reader = new BufferedReader(new InputStreamReader(input));
        out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(output)));
        //reader = new BufferedReader(new FileReader(filename + ".in"));
        //out = new BufferedWriter(new FileWriter(filename + ".out"));
        tokenizer = new StringTokenizer("");
    }

    private static String nextLine() throws IOException {
        return reader.readLine();
    }

    private static String next() throws IOException {
        while (!tokenizer.hasMoreTokens()) {
            tokenizer = new StringTokenizer(nextLine());
        }
        return tokenizer.nextToken();
    }

    private static int nextInt() throws IOException {
        return Integer.parseInt(next());
    }

    private static long nextLong() throws IOException {
        return Long.parseLong(next());
    }

    private static double nextDouble() throws IOException {
        return Double.parseDouble(next());
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
        init(System.in, System.out);
        int a = nextInt();
        //long startTime = System.currentTimeMillis();
        int b = nextInt();
        String s = nextLine();
        int x = 0;
        int y = 0;
        boolean[][] flag = new boolean[222][222];
        flag[100][100] = true;
        for (int i = 0; i < s.length(); i++) {
            if (s.charAt(i) == 'U') {
                y++;
            } else if (s.charAt(i) == 'D') {
                y--;
            } else if (s.charAt(i) == 'L') {
                x--;
            } else {
                x++;
            }
            flag[x + 100][y + 100] = true;
        }
        //out.println(x + " " + y);
        if (a == 0 && b == 0) {
            out.println("Yes");
        } else {
            boolean no = true;
            for (int i = 0; i < 222 && no; i++) {
                for (int j = 0; j < 222 && no; j++) {
                    if (flag[i][j]) {
                        int tempX = a - (i - 100);
                        int tempY = b - (j - 100);
                        if (x == 0 && y == 0) {
                            if (tempX == 0 && tempY == 0) {
                                no = false;
                            } else {
                                continue;
                            }
                        } else if (x == 0) {
                            if (tempX != 0) {
                                continue;
                            } else if (tempY % y == 0 && tempY / y >= 0) {
                                no = false;
                            }
                        } else if (y == 0) {
                            if (tempY != 0) {
                                continue;
                            } else if (tempX % x == 0&& tempX / x >= 0) {
                                no = false;
                            }
                        } else if (tempY % y == 0 && tempX % x == 0 && tempY / y == tempX / x && tempY / y >= 0) {
                            no = false;
                        }
                    }
                }
            }
            if (no) {
                out.println("No");
            } else {
                out.println("Yes");
            }
        }
        //long runTime = System.currentTimeMillis() - startTime;
        //out.write(runTime + "\n");
        out.close();
        System.exit(0);
    }
}