[Solution] AI Analysing Code CodeChef Solution
Problem
Chef has recently introduced a feature which allows you to open any user’s submitted code (not just your own), and ask an AI to explain that code in English. and click on "Analyse This Code".
But there is a restriction that the feature works only on codes which are at most characters long. Given the number of characters, , in a particular code, output whether the feature is available on this code or not.
Input Format
The only line of input will contain a single integer , denoting the number of characters in the code.
Output Format
Output a single line which contains either "Yes", if the feature is available on this code, or "No", if not.
You may print each character of the string in either uppercase or lowercase (for example, the strings NO
, nO
, No
, and no
will all be treated as identical).
Explanation:
The code's length is , and . So, the feature is not available, and the answer is "No".
No comments:
Post a Comment