program ABC155_A
  integer::a,b,c
  read(*,*)a,b,c
  if((a==b .and. a/=c) .or. (b==c .and. a/=c) .or. (c==a .and. a/=b)) then
     write(*,*)'Yes'
  else
     write(*,*)'No'
  end if
end program ABC155_A