input_data = STDIN.gets
a_b_c = input_data.split(" ")
a = a_b_c[0].to_i
b = a_b_c[1].to_i
c = a_b_c[2].to_i

if a < c && b < c then
  if a < b then
    print "Yes\n"
  else
    print "No\n"
  end
else
  print "No\n"
end