using System;
class Program
{
static void Main()
double a, b, c;
a = Convert.ToDouble(Console.ReadLine());
b = Convert.ToDouble(Console.ReadLine());
c = Convert.ToDouble(Console.ReadLine());
if (a == b || b == c || a == c || (a == b && b == c))
Console.Write("YES");
else
Console.Write("NO");
}
using System;
class Program
{
static void Main()
{
double a, b, c;
a = Convert.ToDouble(Console.ReadLine());
b = Convert.ToDouble(Console.ReadLine());
c = Convert.ToDouble(Console.ReadLine());
if (a == b || b == c || a == c || (a == b && b == c))
Console.Write("YES");
else
Console.Write("NO");
}
}