Task: Program Execution
Input (English): 2, 4, ['5019', 'q', 'S', 'S']
Output (English): SSq