Task: Program Execution
Input (English): 6, 7, ['D', 'S', 'a', '4677', '7447', 'P', '7777', 'u']
Output (English): P, 7777