# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

# Easier Than You Thought!

By ridzz007 · Limits 1s, 512 MB

CSE Programming Club of Comilla University was created for the betterment of the students of Computer Science and Engineering department. Since then, it has helped programmers of the department in various ways possible. Arranging programming contests, training sessions, discussion sessions along with LAB facilities are to name a few. Following the tradition, the club is here with yet another programming contest for you to test your programming skills. In this problem, you’ll have to answer several test cases. In each case, you’ll be given a non-empty string containing English letters A-Z, a-z, spaces and special characters ( comma ( , ) and dot ( . ) ). You have to answer if you can obtain the string "Programming Club, CSE CoU." (without quotes), by taking characters from the input string.

## Input

Input starts with an integer T, the number of test cases. In each case, you’ll be given a non-empty string of characters.

1 ≤ T ≤ $10^{5}$

sum of characters over all test cases does not exceed $10^{6}$.

## Output

Print “YES” if you can obtain the string "Programming Club, CSE CoU."(without quotes) By taking characters from the input string, otherwise print “NO”.

## Sample

InputOutput
2
Programming Club is created by CSE Society, CoU.
Programming Club helps Programmers a lot.

YES
NO


### Statistics

86% Solution Ratio

steinumEarliest, Oct '20

raju_singhoFastest, 0.0s

Peal_HassanLightest, 1.1 MB

bokaifShortest, 134B