Task: Program Execution
Input (English): 5, 10, ['Z', 'G', 'o', 'R', 'S', 'W', '9977', '9067', '143', '4001', 'O', '1363', '3611']
Output (English): SW997790671434001