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