Task: Program Execution
Input (English): 2, 3, ['j', 'p', 'P', '4451', 'Z', '1569', '5057', 'h', 'M', 'X', 'E', 'C', '1441', 'J', '8983', 'i', '8583', 'r', '7199', 'E', '7793']
Output (English): P, p