Feedback for PUZHUNT problem

Problem Link: PUZHUNT Problem - CodeChef
Exception in thread “main” java.util.NoSuchElementException
Code works in my local drive but while submitting facing this exception

Feedback

n=int(input())
if n>=6 and n<=8:
print(“YES”)
else:
print(“NO”)
use this code with PYTHON3
hope it helps you!!