import java.util.Scanner; public class No0264 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); byte N = sc.nextByte(); byte K = sc.nextByte(); if(N == K) drew(); if(N == 0){ if(K == 1) won(); if(K == 2) lost(); } if(N == 1){ if(K == 2) won(); if(K == 0) lost(); } if(N == 2){ if(K == 0) won(); if(K == 1) lost(); } } public static void won(){ System.out.println("WON"); } public static void lost(){ System.out.println("LOST"); } public static void drew(){ System.out.println("DREW"); } }