X = int(input())
print('Yes' if X in {0, 4, 10} else 'No')