Task: Program Execution
Input (English): 3, 5, ['5107', 'Q', 'o', '4521', '8669']
Output (English): 13190