Task: Program Execution
Input (English): 3, 4, ['9397', '2663', 'A', '2515', '8935', 'l', '713', '7755', '3905', '7987', '8135', '7115', '1029', 'j', '6289', 'J', '7927', '5187', '665']
Output (English): 5152A