Task: Program Execution
Input (English): 4, 5, ['d', '4053', 'P', '2961', '859', 'N', 'b', '3617', '3951', '6197']
Output (English): 2961859