import Foundation
func toTuple<T>(_ args: [T]) -> (T, T, T, T) { (args[0], args[1], args[2], args[3]) }
func readInts() -> [Int] { readLine()!.split(separator: " ").map { Int($0)! } }

let (n, m, x, y) = toTuple(readInts())
let xi = readInts().sorted(by: >)
let yi = readInts().sorted()

var count = 1
var ok = false
while !ok && count <= 100 {
  ok = xi[0] < count && yi[0] >= count && x < count && y >= count
  count += 1
}
print(ok ? "No War" : "War")