Task: Program Execution
Input (English): 7, 10, ['1129', 'x', 'j', '8161', '2901', '8943', 'w', '4431', 'r', 'x', 'M', 'F']
Output (English): w4431rx