Task: Program Execution
Input (English): 1, 6, ['2105', '8761', '311', '5963', 'L', 'A', '7495', '2819', 'S']
Output (English): A, L, 5963, 311, 8761, 2105