Task: Program Execution
Input (English): 2, 4, ['U', '4877', '159', 'Z', '8379', 'V', 'K', '997']
Output (English): Z9517784