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.*;


public class Main {

	static BufferedReader input;
	static PrintWriter output;
	static StreamTokenizer in;
	
	public static void main(String[] args) throws IOException {
		input = new BufferedReader(new InputStreamReader(System.in));
//		input = new BufferedReader(new FileReader("input.txt"));
		output = new PrintWriter(System.out);
		String st_Nastya = input.readLine();
		String st_Valera = input.readLine();
		String st_0 = "";
		String st_1 = "";
		String st_2 = "";
		String st_3 = "";
		String st_4 = "";
		String st_5 = "";
		String st_6 = "";
		String st_7 = "";
		String st_8 = "";
		String st_9 = "";
		
		for (int i=0; i<st_Nastya.length(); i++){
			
			if (st_Nastya.charAt(i)=='0'){
				st_0 = st_0 + '0';
			}
			else{
				if (st_Nastya.charAt(i)=='1'){
					st_1 = st_1 + '1';
				}
				else{
					if (st_Nastya.charAt(i)=='2'){
						st_2 = st_2 + '2';
					}
					else{
						if (st_Nastya.charAt(i)=='3'){
							st_3 = st_3 + '3';
						}
						else{
							if (st_Nastya.charAt(i)=='4'){
								st_4 = st_4 + '4';
							}
							else{
								if (st_Nastya.charAt(i)=='5'){
									st_5 = st_5 + '5';
								}
								else{
									if (st_Nastya.charAt(i)=='6'){
										st_6 = st_6 + '6';
									}
									else{
										if (st_Nastya.charAt(i)=='7'){
											st_7 = st_7 + '7';
										}
										else{
											if (st_Nastya.charAt(i)=='8'){
												st_8 = st_8 + '8';
											}
											else{
												st_9 = st_9 + '9';												
											}
										}
									}
								}
							}
						}
					}
				}
			}
		
		}
		String st_res = "";
		if (st_1!=""){
			st_res = '1' + st_0 + st_1.subSequence(1, st_1.length()) + st_2 + st_3 + st_4 + st_5 + st_6 + st_7 + st_8 + st_9;
		}
		else{
			if (st_2!=""){
				st_res = '2' + st_0 + st_2.subSequence(1, st_2.length()) + st_3 + st_4 + st_5 + st_6 + st_7 + st_8 + st_9;
			}
			else{
				if (st_3!=""){
					st_res = '3' + st_0 + st_3.subSequence(1, st_3.length()) + st_2 + st_4 + st_5 + st_6 + st_7 + st_8 + st_9;
				}
				else{
					if (st_4!=""){
						st_res = '4' + st_0 + st_4.subSequence(1, st_4.length()) + st_2 + st_3 + st_5 + st_6 + st_7 + st_8 + st_9;
					}
					else{
						if (st_5!=""){
							st_res = '5' + st_0 + st_5.subSequence(1, st_5.length()) + st_2 + st_3 + st_4 + st_6 + st_7 + st_8 + st_9;
						}
						else{
							if (st_6!=""){
								st_res = '6' + st_0 + st_6.subSequence(1, st_6.length()) + st_2 + st_3 + st_4 + st_5 + st_7 + st_8 + st_9;
							}
							else{
								if (st_7!=""){
									st_res = '7' + st_0 + st_7.subSequence(1, st_7.length()) + st_2 + st_3 + st_4 + st_5 + st_6 + st_8 + st_9;
								}
								else{
									if (st_8!=""){
										st_res = '8' + st_0 + st_8.subSequence(1, st_8.length()) + st_2 + st_3 + st_4 + st_5 + st_6 + st_7 + st_9;
									}
									else{
										if (st_9!=""){
											st_res = '9' + st_0 + st_9.subSequence(1, st_9.length()) + st_2 + st_3 + st_4 + st_5 + st_6 + st_7 + st_8;
										}
										else{
											st_res = st_0;											
										}
									}
								}
							}
						}
					}
				}
			}
		}
		
		if (st_Valera.equals(st_res)){
			output.write("OK");
		}
		else{
			output.write("WRONG_ANSWER");
		}
		output.flush();
	}

	
    static String nextString() throws IOException {
        if ( in == null ) {
            in = new StreamTokenizer(input);
        }
        in.nextToken();
        return in.sval;
    }


    static double nextDouble() throws NumberFormatException, IOException {
        if ( in == null ) {
            in = new StreamTokenizer(input);
        }
        in.nextToken();
        return in.nval;
    }

    
    static int nextInt() throws NumberFormatException, IOException {
        return (int) nextDouble();
    }
    
    
    static long nextLong() throws NumberFormatException, IOException {
        return (long) nextDouble();
    }
    
 
    static void write(String st) {
		output.write(st);
    }

    
    static void writeln(String st) {
		output.write(st + "\n");
    }
    
}