Task: Program Execution
Input (English): 2, 8, ['8085', '5449', '19', '8227', 'r', 'S', '8785', '6941', '6955']
Output (English): 29421