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