WCIPEG 2018 ECOO Qualifier P2 - EECOOOO

View as PDF

Submit solution

Points: 5
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type
WCIPEG 2018 ECOO Qualifier

The Educational Computing Organization of Ontario (ECOO) is a prestigious committee who study computer science. The Educational Educational Computing Organization of Ontario Organization of Ontario (EECOOOO) is a prestigious committee who study Educational Computing Organization of Ontario science. The Educational Educational Educational Computing Organization of Ontario Organization of Ontario Organization of Ontario (EEECOOOOOO) is a prestigious committee who study Educational Educational Computing Organization of Ontario Organization of Ontario science.

Acronyms for these organizations follow a certain pattern. Organization names contain the string Educational repeated several times, then the string Computing, followed by the string Organization of Ontario. Similarly, acronyms follow the pattern E, repeated, then C, followed by OO. Given an acronym, output the corresponding string.

Input Specification

Line 1 will have integer T, the number of test cases. The next T lines will have one string each. The input string will have less than 1\,000 characters. It is guaranteed that the acronym will be valid.

Output Specification

The output should be T lines, each with the corresponding full name to the acronym.

Sample Input

1
EEECOOOOOO

Sample Output

Educational Educational Educational Computing Organization of Ontario Organization of Ontario Organization of Ontario

Comments

There are no comments at the moment.