class Problem
  attr_accessor :a, :b, :c, :n, :m, :h, :w
  def initialize
    @a,@b,@c = gets.to_s.split.map{ |v| v.to_i }
  end

  def solve
    a == b && b == c
  end

  def show(ans)
    puts ans ? "Yes" : "No"
  end
end

Problem.new.instance_eval do
  show(solve)
end