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