Task: Program Execution
Input (English): G, 2777, q, v, Z, 51, 9163, 9207
Output (English): 2777, 51, 9163, 9207