Task: Program Execution
Input (English): 2, 4, ['X', 'Z', '227', '9503', '8649', '3131', 'j', 't', '137']
Output (English): 3059722Z