#include<cmath> #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; int main() { int n,p,q; int i,j,k; while(scanf("%d%d%d",&n,&p,&q)!=EOF) { if(n%(p+q)<=p&&n%(p+q)!=0) { printf("LOST "); } else printf("WIN "); } return 0; }