Task: Program Execution
Input (English): 8, 13, ['X', 'r', '9715', '7377', '8177', '5941', '1655', '3853', 'X', '519', '9631', '6347', '8911', '5541', '4261', '237', 'q', 'F', '841', 'J', 'V', 'J']
Output (English): 119874361369915X3583