Task: Program Execution
Input (English): 5, 7, ['S', '6389', '2503', '3339', '793', '8983', 'Z', 'M', 'g', 'f', '3227', 'v']
Output (English): Z, 8983, 793