On the CodeChef Practice page, problems with difficulty ≤1600≤1600 now have Doubt Support — you can go to the problem page and get your queries answered by an experienced CodeChef Doubt Solver through the “Doubt Support” tab.
Given the difficulty of a problem, output whether this problem has Doubt Support or not.
Input Format
The input consists of a single integer, DD, which is the difficulty of the problem.
Output Format
Output Yes
if the problem has Doubt Support, or No
if it doesn’t.
Each letter of the output may be printed in either lowercase or uppercase. For example, the strings yes
, YeS
, and YES
will all be treated as equivalent.
Constraints
- 1≤D≤5000
//This code is written by Souvik Ghosh
import java.util.*;
public class doubtSupport {
public static void main(String[] args) {
//copy from here for codechef
Scanner sc = new Scanner(System.in);
int d=sc.nextInt();
if(d<=1600){
System.out.println("YES");
}else{
System.out.println("NO");
}
}
}