Task: Program Execution
Input (English): 2, 3, ['k', 'p', 'P', '5521', 'z', '2137', '8647', '8629']
Output (English): pP