Task: Program Execution
Input (English): 3247, 1065, n, 4193, 5085, J, 971, 4603, 1659, F, a, 9507, g, a, F, 2649, 8561
Output (English): n, J, F, a, g, a, F, 3247, 1065, 4193, 5085, 971, 4603, 1659, 9507, 2649, 8561