PROGRAM A152
 
INPLICIT NONE
INTEGER :: A, B, C
 
READ *, A, B, C
 
IF (A == B .AND. B == C ) THEN
    PRINT *, 'No'
    ELSE IF (A /= B .AND. B /= C .AND. C /= A) THEN
    PRINT *, 'No'
    ELSE
    PRINT *, 'Yes'
END IF
 
END PROGRAM A152