a,b=gets.split.map(&:to_i) if a == b puts :Yes elsif a == 2 and b == 4 puts :Yes else puts :No end