X = int(input()) if X in [i * 2 for i in [0, 2, 5]]: print('Yes') else: print('No')