Task: Program Execution
Input (English): 2, ['A', 'T', 'S', 'm', '1105']
Output (English): S, m, 1105