Task: Program Execution
Input (English): 5511, G, q, m, E, q
Output (English): G, q, m, E, q