Task: Program Execution
Input (English): 2, 3, ['1007', 'r', 'z', '8603']
Output (English): r, z