x = int(input()) if x / 2 in [0, 2, 5]: print('Yes') else: print('No')