Task: Program Execution
Input (English): ['Z', 7181, 4183, '8197', '6899', '9817', 'M', 7451], ['Y', 'Q', 'N', '8197', '6899', '9817', 'h', 3633, 5147]
Output (English): 8197, 6899, 9817