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