Task: Program Execution
Input (English): 5, 12, ['S', 'n', 'h', '7167', '2955', 'a', 'l', '5009', 'o', 'Z', '1753', '9065', '939', '1579']
Output (English): 90651753Zo5009la2955