#!/usr/bin/env python3

# -*- coding: utf-8 -*-



import array

from bisect import *

from collections import *

import fractions

import heapq

from itertools import *

import math

import random

import re

import string

import sys



N, M = list(map(int, input().split()))

if N == M:

    print("Yes")

else:

    print("No")



n, m = list(map(int, input().split()))

if n == m:

  print ('Yes')

else:

  print ('No')
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import array
from bisect import *
from collections import *
import fractions
import heapq
from itertools import *
import math
import random
import re
import string
import sys

N, M = list(map(int, input().split()))
if N == M:
    print("Yes")
else:
    print("No")

n, m = list(map(int, input().split()))
if n == m:
    print("Yes")
else:
    print("No")

-#!/usr/bin/env python3 -# -*- coding: utf-8 -*- -import array -from bisect import * -from collections import * -import fractions -import heapq -from itertools import * -import math -import random -import re -import string -import sys - -N, M = list(map(int, input().split())) -if N == M: +n, m = list(map(int, input().split())) +if n == m: