Task: Program Execution
Input (English): 3, 5, ['S', '565', 'X', '8833', '4597']
Output (English): 13430