	for(int j = 1;j <= m;j++){
		scanf("%d",&b[j]);
		y1 = min(y1,b[j]);
		}
		for(x = x+1;x <= y;x++){
			if(x > x1&&x <= y1)
			{
				cnt = 1;
				printf("No War");
				break;
				}
			}
			if(cnt == 0) printf("War");
	return 0;
	}