Task: Program Execution
Input (English): 5, 7, ['3727', '6217', '915', '1157', 'X', '9997', '15', '2669', 'u', '3229', '4281', 'E', '5977', 'a', 'h', '6683', '3969', 'J', 'r']
Output (English): 159997X