   program abc155a
      implicit none
      integer::a,b,c

         read *, a,b,c

         if (a/=b .and. b==c) then
            print *,'Yes'
         else if (b/=a .and. a==c) then
            print *,'Yes'
         else if (c/=a .and. a==b) then
            print *,'Yes'
         else
            print *,'No'
         end if

   end program abc155a