Task: Program Execution
Input (English): 5, 7, ['O', '5385', '4831', '3613', '9725', '435', '447', 'n', '8721', '3511', 'J']
Output (English): 4474359725