x = int(input()) ans = 'Yes' if x != 0 and x != 4 and x != 10: ans = 'No' print(ans)