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.util.*;
import java.io.*;
import java.math.BigInteger;

import static java.lang.Math.*;

public class Main {
    StreamTokenizer in;
    PrintWriter out;
    BufferedReader inp;
    public static void main(String[] args) throws IOException{
        new Main().run();
    }
    void run() throws IOException{
        in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
        inp = new BufferedReader(new InputStreamReader(System.in));
        out = new PrintWriter(new OutputStreamWriter(System.out));

        solve();

        out.flush();
    }
    void solve() throws IOException{


        int c[] = new int[10];
        int n = Integer.parseInt(inp.readLine());
        String t = inp.readLine();
        int h = Integer.parseInt(t);
        if ( n == 0 && h != 0 ) {
            out.print("WRONG_ANSWER");
            return;
        }
         if ( n == 0 && h == 0 ){
            out.print("OK");
            return ;
        }
        int cur = n;
        while ( cur > 0 ) {
            c[cur%10]++;
            cur/=10;
        }
        String res = "";
        for(int i = 1; i <= 9; ++i)
            for(int j = 0; j < c[i]; ++j)
                res += ( Character.toString( (char)(i+'0') ) );
        String nul = "";
        for(int i = 0; i < c[0]; ++i)
            nul += "0";
        String my = res.subSequence(0, 1) + nul + res.substring(1, res.length());

        if ( my.compareTo(t) == 0 ) {
            out.print("OK");
        } else out.print("WRONG_ANSWER");
    }

    int ni() throws IOException{
        in.nextToken();
        return (int)in.nval;
    }
    double nd() throws IOException{
        in.nextToken();
        return in.nval;
    }
    long nl() throws IOException{
        in.nextToken();
        return (long)in.nval;
    }
 
}
