One cold winter evening Alice and her older brother Bob was sitting at home near the fireplace and giving each other interesting problems to solve. When it was Alice's turn, she told the number n to Bob and said:

—Shuffle the digits in this number in order to obtain the smallest possible number without leading zeroes.

—No problem! — said Bob and immediately gave her an answer.

Alice said a random number, so she doesn't know whether Bob's answer is correct. Help her to find this out, because impatient brother is waiting for the verdict.

Input

The first line contains one integer n (0 ≤ n ≤ 109) without leading zeroes. The second lines contains one integer m (0 ≤ m ≤ 109) — Bob's answer, possibly with leading zeroes.

Output

Print OK if Bob's answer is correct and WRONG_ANSWER otherwise.

Examples

Input

3310
1033


Output

OK


Input

4
5


Output

WRONG_ANSWER

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.StringTokenizer;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author pttrung
 */
public class B {

    public static void main(String[] args) {
        Scanner in = new Scanner();
        PrintWriter out = new PrintWriter(System.out);
        String val = in.next();
        long b = in.nextLong();
       // System.out.println(val  + " " + b);
        int[] data = new int[val.length()];
        int index = -1;
        for (int i = 0; i < data.length; i++) {
            data[i] = val.charAt(i) - '0';
            if (data[i] != 0) {
                if (index == -1) {
                    index = i;
                } else if (data[i] < data[index]) {
                    index = i;
                }
            }
        }
      //  System.out.println("HE HE");
        if (index != -1) {
            int temp = data[0];
            data[0] = data[index];
            data[index] = temp;
            Arrays.sort(data, 1, data.length);
            long result = 0;
            for (int i = 0; i < data.length; i++) {
                result = result * 10 + data[i];
            }
            if (result == b) {
                out.println("OK");
            } else {
                out.println("WRONG_ANSWER");
            }
        } else {
            if (b == 0) {
                out.println("OK");
            } else {
                out.println("WRONG_ANSWER");
            }
        }

        out.close();
    }

    public static int countTwo(int val) {
        int result = 0;
        while (val > 0 && val % 2 == 0) {
            val /= 2;
            result++;
        }
        return result;
    }

    public static int countFive(int val) {
        int result = 0;
        while (val > 0 && val % 5 == 0) {
            val /= 5;
            result++;
        }
        return result;
    }

    public static long count(long two, long five) {
        return Math.min(two, five);
    }

    public double pow(double a, int b) {
        if (b == 0) {
            return 1;
        }
        if (b == 1) {
            return a;
        }
        double val = pow(a, b / 2);
        if (b % 2 == 0) {
            return val * val;
        } else {
            return val * val * a;
        }
    }

    public static long gcd(long a, long b) {
        if (b == 0) {
            return a;
        }
        return gcd(b, a % b);
    }

    public static long lcm(long a, long b) {
        return a * b / gcd(a, b);
    }

    static class Scanner {

        BufferedReader br;
        StringTokenizer st;

        public Scanner() {
            // System.setOut(new PrintStream(new BufferedOutputStream(System.out), true));
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        public String next() {

            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (Exception e) {
                    throw new RuntimeException();
                }
            }
            return st.nextToken();
        }

        public long nextLong() {
            return Long.parseLong(next());
        }

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

        public double nextDouble() {
            return Double.parseDouble(next());
        }

        public String nextLine() {
            st = null;
            try {
                return br.readLine();
            } catch (Exception e) {
                throw new RuntimeException();
            }
        }

        public boolean endLine() {
            try {
                String next = br.readLine();
                while (next != null && next.trim().isEmpty()) {
                    next = br.readLine();
                }
                if (next == null) {
                    return true;
                }
                st = new StringTokenizer(next);
                return st.hasMoreTokens();
            } catch (Exception e) {
                throw new RuntimeException();
            }
        }
    }
}