[Solution] Credit score solution codechef

Credit score solution codechef – To access CRED programs, one needs to have a credit score of 750750 or more.
Given that the present credit score is XX, determine if one can access CRED programs or not.

If it is possible to access CRED programs, output 𝚈𝙴𝚂YES, otherwise output 𝙽𝙾NO.

Credit score solution codechef

The first and only line of input contains a single integer XX, the credit score.

Output Format

Print 𝚈𝙴𝚂YES if it is possible to access CRED programs. Otherwise, print 𝙽𝙾NO.

You may print each character of the string in uppercase or lowercase (for example, the strings 𝚈𝚎𝚂YeS𝚢𝙴𝚜yEs𝚢𝚎𝚜yes and 𝚈𝙴𝚂YES will all be treated as identical).

Constraints

  • 0X10000≤X≤1000

Credit score solution codechef

  • Subtask 1 (100 points): Original constraints.

Sample Input 1 

823

Sample Output 1 

YES

Credit score solution codechef

Since 823750823≥750, it is possible to access CRED programs.

Sample Input 2 

251

Sample Output 2 

NO

Explanation

Since 251<750251<750, it is not possible to access CRED programs.


For Solution

Click Here

Leave a Comment