puts [0,4,10].include?(gets.to_i) ? "Yes" : "No"