Algorithm
problem Link : https://www.codechef.com/problems/INCRIQ
Problem
A study has shown that playing a musical instrument helps in increasing one's IQ by points. Chef knows he can't beat Einstein in physics, but he wants to try to beat him in an IQ competition.
You know that Einstein had an IQ of , and Chef currently has an IQ of .
Determine if, after learning to play a musical instrument, Chef's IQ will become strictly greater than Einstein's.
Print "Yes" if it is possible for Chef to beat Einstein, else print "No" (without quotes).
You may print each character of the string in either uppercase or lowercase (for example, the strings yEs
, yes
, Yes
, and YES
will all be treated as identical).
Input Format
- The first and only line of input will contain a single integer , the current IQ of Chef.
Output Format
- For each testcase, output in a single line "Yes" or "No"
- You may print each character of the string in either uppercase or lowercase (for example, the strings
yEs
,yes
,Yes
, andYES
will all be treated as identical).
Constraints
Subtasks
Subtask #1 (100 points): Original constraints
Sample 1:
165
Yes
Code Examples
AdvertisementsDemonstration
CodeChef solution in INCRIQ - Increase IQ Codechef solution in C,C++