Task: Program Execution
Input (English): 3, 7, ['j', '713', '8973', '3771', '1235', '5761', 'P', 'O', '5181', '3297', '3121', '9247', '5801', '6907']
Output (English): P, 5761, 1235, 3771, 8973