Task: Program Execution
Input (English): 3, 5, ['A', '899', '1767', 'p', '3817', 'S', '1871', 'v']
Output (English): 7183p7671