Task: Program Execution
Input (English): 2, 10, ['1395', '8051', '5473', 'G', '8121', '3039', '1007', 'X', '9467', '3637', '8821', '3621']
Output (English): 73637649X700193031218G37451508