Task: Program Execution
Input (English): 3, 5, ['m', '7803', 'm', 'v', 'T']
Output (English): T, v, m