Task: Program Execution
Input (English): 4, 5, ['P', '1573', '3167', 'o', 'A']
Output (English): Ao