Task: Program Execution
Input (English): G, counted, n, q
Output (English): Gcountednq