Task: Program Execution
Input (English): 4, 7, ['2519', '2607', 'P', '6901', 'W', '6457', 'Z', 'a', '1245', '6749', '37', 'c', '5195', '5161', 'y', '149', '5149', '3171', 'A', '6055', 'f', '9913', '3289']
Output (English): Z7546W1096