Task: Program Execution
Input (English): 9, 10, ['8867', '5357', '8361', '9745', '3605', 'S', 'b', 'b', '2479', 'Z', 'z', '599', 'R', '6905', 'z', 'r', 'b', 't']
Output (English): Z9742