Task: Program Execution
Input (English): n, n, G, A, 2493, 4395, 9341, 5705, 787
Output (English): n, n, G, A