Task: Program Execution
Input (English): 4, 7, ['l', 'i', 'r', '8107', '9935', '1291', '5127', '2433', 'A', 'A', '4517', '7949', 'w', '9987', 'm', 'Z', '4135', 'T', '9539', '4661', 'l', '3623', 'E']
Output (English): 8107, 4517, T