Task: Program Execution
Input (English): 7, 12, ['2947', 'x', 'x', 'N', 'w', '2527', '4807', '343', 'r', 'i', '9369', 'J']
Output (English): J, 9369, i, r, 343, 4807