#!/bin/bash
read shit
array=($(echo $shit | tr " " "\n"))
a=array[0]
b=array[1]
c=array[2]
if [[ $a -eq $b ]] && [[ $b -ne $c ]]; then
	echo "Yes"
	exit
fi
if [[ $b -eq $c ]] && [[ $c -ne $a ]]; then
	echo "Yes"
	exit
fi
if [[ $c -eq $a ]] && [[ $a -ne $b ]]; then
	echo "Yes"
	exit
fi
echo "No"