var s, t, A: integer; begin s := 0; t := 0; A := 0; readln(s); readln(t); readln(A); if (s > 10) or (t > A) then writeln('YES') else writeln('NO'); end.
begin
readln(s);
readln(t);
readln(A);
if (s > 10) or (t > A)
then
writeln ('YES')
else
writeln ('NO')
end.