Task: Program Execution
Input (English): 3, 6, ['9433', '3077', '5371', 'a', 'G', 'v', 'P']
Output (English): v, G, a, 5371