inputs = (gets).split(" ")

s = ""
judge = true
inputs.each do |inp|
    if (s == "" || s == inp) then
        s = inp
    else
        judge = false
        break
    end
end

if judge then
    puts "Yes"
else
    puts "No"
end
  