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.*;
import java.util.*;
public class code {
	static PrintWriter pw;
	public static long ceil(double x) {
		if(x%1==0) {
			return (long)x;
		}else if(x>0) {
			return (long)x+1;
		}else {
			return (long)x-1;
		}
	}
	static long gcf(long x, long y) {
		while(x%y!=0 && y%x!=0) {
			long tempx=x;
			x%=y;
			y%=tempx;
		}
		return x>y? y:x;
	}
	static boolean mult(int x, int n) {
		return (Math.log(x+1)/Math.log(n))%1<=1e7 || (Math.log(x+1)/Math.log(n))%1>=1-1e7;
	}
	static boolean only9(String s) {
		for(int i=0; i<s.length(); i++) {
			if(s.charAt(i)!='9')
				return false;
		}
		return true;
	}
	static int large(char x, Character[] arr) {
		int ans=-1;
		int start=0,end=arr.length-1;
		while(start<=end) {
			int mid=(start+end)/2;
			if(arr[mid]<=x) {
				start=mid+1;
			}else {
				ans=mid;
				end=mid-1;
			}
		}
		return ans;
	}
	public static void main(String[] args) throws Exception {
		Scanner sc= new Scanner(System.in);
		pw = new PrintWriter(System.out);
		String x=sc.nextLine(); String y=sc.nextLine();
		if(Integer.parseInt(x)==0) {
			pw.println(Integer.parseInt(y)==0? "OK":"WRONG_ANSWER");
			pw.flush();
			return;
		}
		Character[] arr=new Character[x.length()];
		for(int i=0; i<x.length(); i++) {
			arr[i]=x.charAt(i);
		}
		Arrays.sort(arr);
		StringBuilder sb=new StringBuilder();
		int idx=large('0',arr);
		sb.append(arr[idx]);
		for(int i=0; i<arr.length; i++) {
			if(i!=idx)
				sb.append(arr[i]);
		}
		pw.println(sb.toString().equals(y)?"OK":"WRONG_ANSWER");
		pw.close();
	}
	static class Scanner {
		StringTokenizer st;
		BufferedReader br;
 
		public Scanner(InputStream s) {
			br = new BufferedReader(new InputStreamReader(s));
		}
 
		public Scanner(FileReader r) {
			br = new BufferedReader(r);
		}
 
		public String next() throws IOException {
			while (st == null || !st.hasMoreTokens())
				st = new StringTokenizer(br.readLine());
			return st.nextToken();
		}
 
		public int nextInt() throws IOException {
			return Integer.parseInt(next());
		}
 
		public long nextLong() throws IOException {
			return Long.parseLong(next());
		}
 
		public String nextLine() throws IOException {
			return br.readLine();
		}
 
		public double nextDouble() throws IOException {
			return Double.parseDouble(next());
		}
 
		public int[] nextArr(int n) throws IOException {
			int[] arr = new int[n];
			for (int i = 0; i < arr.length; i++)
				arr[i] = nextInt();
			return arr;
		}
 
		public boolean ready() throws IOException {
			return br.ready();
		}
	}
	static class Pair implements Comparable<Pair>{
		int x;
		int y;
		public Pair(int a, int b) {
			this.x=a;
			this.y=b;
		}
		public int compareTo(Pair other) {
			if(this.x!=other.x)
				return this.x-other.x;
			else
				return this.x-other.x;
		}
	}
}
class gate implements Comparable<gate>{
	int rate;
	int cost;
	public gate(int a, int b) {
		rate=a;
		cost=b;
	}
	public int compareTo(gate other) {
		if(this.rate!=other.rate)
			return this.rate-other.rate;
		else
			return other.cost-this.cost;
	}
}