Task: Program Execution
Input (English): 3, 6, ['A', 'I', '7317', 'J', '5967', 'P', 'i', 'T', 'O', '7081']
Output (English): 7317J5967P