program prob5
    implicit none
    integer :: a,b,c
    read(*,*) a,b,c

    if(a == b .and. b /= c) then
        write(*,*) "Yes"
        stop
    end if
    if(a == c .and. b /= c) then
        write(*,*) "Yes"
        stop
    end if
    if(c == b .and. a /= c) then
        write(*,*) "Yes"
        stop
    end if
    write(*,*) "No"

    stop
contains
end program prob5