X = input() print('No' if X in '257' else 'Yes')