print [4,5].include?(gets.split('')[0].to_i) ? "Yes" : "No"