#C1137. Substring Detection
Substring Detection
Substring Detection
In this problem, you are given a string (F). Your task is to determine whether the string contains the specific substring "MAN". In other words, if (\text{MAN}) is present in (F), output "Yes"; otherwise, output "No".
For example, if (F = \texttt{MANGO}), since (\text{MAN}) is a substring of (F), the output should be "Yes". This problem tests basic string processing skills.
inputFormat
The input consists of a single line that contains the string (F). The string may consist of uppercase letters only and its length will be within a reasonable limit.
outputFormat
Output a single line with "Yes" if (F) contains the substring (\text{MAN}); otherwise, output "No".## sample
MANGO
Yes