import sequtils, strutils let xys = stdin.readLine.split.map parseInt y1 = xys[1] y2 = xys[3] if y1 == y2: echo "Yes" else: echo "No"