Task: Program Execution
Input (English): 3, 4, ['P', 'v', '2345', 'K', '577', 'r', '7897', '3119']
Output (English): 2345, K