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
//package main;

import java.io.*;
import java.util.*;

public class Main{
    public static void main(String[] args) throws IOException {
        Reader.init(System.in);
        //StringBuffer outBuffer = new StringBuffer();
        char[] alice = Reader.next().toCharArray();
        char[] bob = Reader.next().toCharArray();
        String ok = "OK";
        String fail = "WRONG_ANSWER";
        int smallest = 1;
        int count[][] = new int[2][10];
        
        //Count characters in alice
        for(int i = 0; i < alice.length; i++) {
            count[0][alice[i]-'0']++;
        }
        //Count characters in bob
        for(int i = 0; i < bob.length; i++){
            count[1][bob[i]-'0']++;
        }
        
        for(int i = 1; i < 10; i++){
            if(count[0][i] != 0) {
                smallest = i;
                break;
            }
        }
        for(int i = 0; i < 10; i++){
            if(count[0][i] != count[1][i]) {
                System.out.print(fail);
                return;
            }
        }
        //Check that first letter is not 0
        if(bob[0]-'0' != smallest) {
            System.out.print(fail);
            return;
        }
        //Check that remaining are in ascending order
        for(int i = 2; i < bob.length; i++){
            if(bob[i-1] > bob[i]) {
                System.out.print(fail);
                return;
            }
        }
        
        System.out.print(ok);
    }
}

// Class for buffered reading int and double values 
// From: http://www.cpe.ku.ac.th/~jim/java-io.html
class Reader {
    static BufferedReader reader;
    static StringTokenizer tokenizer;

    //call this method to initialize reader for InputStream
    static void init(InputStream input) {
        reader = new BufferedReader(
                     new InputStreamReader(input) );
        tokenizer = new StringTokenizer("");
    }

    //get next word
    static String next() throws IOException {
        while ( ! tokenizer.hasMoreTokens() ) {
            //TODO add check for eof if necessary
            tokenizer = new StringTokenizer(
                   reader.readLine() );
        }
        return tokenizer.nextToken();
    }

    static int nextInt() throws IOException {
        return Integer.parseInt( next() );
    }
	
    static double nextDouble() throws IOException {
        return Double.parseDouble( next() );
    }
}