a = int(input()) print('YES' if a != 1 else 'NO')