Task: Program Execution
Input (English): 4, ['9783', '4521', 'y', 'y', '3687', 'C', '6197', '957', 'G']
Output (English): 3687, C, 6197, 957, G