print(["No","Yes"][int(input())in(0,4,10)])