Task: Program Execution
Input (English): 2, 6, ['H', '2247', '2203', '9505', 'L', '865', '3499', 'd', 'N', 'Z', '6741', '2733']
Output (English): 2247, d