Task: Program Execution
Input (English): 2, 4, ['7145', 'S', 'K', 'Q', '8329', '8275', '4059', '7561']
Output (English): SKQ