n=gets.to_i puts [2,5,7].include?(n)?'No':'Yes'