Task: Program Execution
Input (English): 3, 4, ['4559', 'L', 'S', 'p', 'i', '9957', '787', 'F', '7771', '8019']
Output (English): pS