Task: Program Execution
Input (English): 9, 9, ['S', 'W', '6219', 'D', 'Y', 'h', '913', '8151', '5027']
Output (English): 5027