Imports System

Module Program
    Sub Main(args As String())
        Dim N As Integer = CInt(Console.ReadLine())
        Dim M As Integer = CInt(Console.ReadLine())

        If N = M Then
            Console.WriteLine("Yes")
        Else
            Console.WriteLine("No")
        End If

    End Sub
End Module
