Task: Program Execution
Input (English): 2, 18, ['7141', '8711', 'x', '8001', 'h', 'F', '5909', '307', '1113', '5827', '9643', 'k', '8349', 'Y', 'n', 'F', '4409', '8207', '3013', 'J']
Output (English): 82074409FnY8349k9643582711133075909Fh8001x8711