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.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class C {
    
    public static void main(final String[] args) throws IOException, InappropriateDataException {
        try (
                final BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
                final PrintWriter out = new PrintWriter(System.out)
                ) {
            for(String line = in.readLine(); line != null && !line.isEmpty(); line = in.readLine()) {
                final String parts[] = line.split(" ");
                if(parts.length != 2) {
                    throw new InappropriateDataException();
                }
                final int x = Integer.parseInt(parts[0]);
                final int y = Integer.parseInt(parts[1]);
                line = in.readLine();
                if(line == null || line.isEmpty()) {
                    throw new InappropriateDataException();
                }
                solve(x, y, line, out);
                out.flush();
            }
        }
    }
    
    private static void solve(final int goalX, final int goalY, final String commands, final PrintWriter out) throws InappropriateDataException {
        final Position[] positions = new Position[commands.length() + 1];
        positions[0] = new Position(0, 0);
        for(int i = 0; i < commands.length(); ++i) {
            final int[] direction = getDirection(commands.charAt(i));
            positions[i + 1] = positions[i].move(direction[0], direction[1]);
        }
        boolean achievable = false;
        final Position goal = new Position(goalX, goalY);
        final int stepX = positions[positions.length - 1].getX() - positions[0].getX();
        final int stepY = positions[positions.length - 1].getY() - positions[0].getY();
        for(int i = 0; i < positions.length; ++i) {
            if(stepsInto(positions[i], stepX, stepY, goal)) {
                achievable = true;
                break;
            }
        }
        out.println(achievable ? "Yes" : "No");
    }
    
    private static boolean stepsInto(final Position start, final int stepX, final int stepY, final Position goal) {
        final int x = goal.getX() - start.getX();
        final int y = goal.getY() - start.getY();
        return !(
                (stepX == 0 && x != 0) || 
                (stepY == 0 && y != 0) ||
                (stepX != 0 && (x / stepX < 0 || x % stepX != 0)) ||
                (stepY != 0 && (y / stepY < 0 || y % stepY != 0)) ||
                (stepX != 0 && stepY != 0 && x / stepX != y / stepY));
    }
    
    private static class Position {
        private final int x, y;
        
        public Position(int x, int y) {
            this.x = x;
            this.y = y;
        }
        
        public int getX() {
            return x;
        }
        
        public int getY() {
            return y;
        }
        
        public Position move(final int deltaX, final int deltaY) {
            return new Position(x + deltaX, y + deltaY);
        }
    }
    
    private static String directionNames = "DULR";
    private static int[] directionDX = new int[] {0, 0, -1, 1};
    private static int[] directionDY = new int[] {-1, 1, 0, 0};
    
    private static int[] getDirection(char name) throws InappropriateDataException {
        for(int i = 0; i < directionNames.length(); ++i) {
            if(name == directionNames.charAt(i)) {
                return new int[] {directionDX[i], directionDY[i]};
            }
        }
        throw new InappropriateDataException();
    }
    
    public static class InappropriateDataException extends Exception {
        
    }
    
}
