Task: Program Execution
Input (English): 4, 8, ['t', 'u', '4053', '9871', '5305', '2131', 'J', 'M', '4793']
Output (English): 17307