Task: Program Execution
Input (English): 5, 6, ['x', 't', '8901', '6629', '5781', 'x', 'S']
Output (English): x5781