Task: Program Execution
Input (English): 5, 16, ['9511', '1967', '711', '3301', '6013', '7139', '5753', '5813', 'I', '5011', '5537', '2897', 'P', 'r', '2849', '8015']
Output (English): 51089482rP798273551105I3185357593173106