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