Task: Program Execution
Input (English): 14, 16, ['313', 'W', '1991', '4235', 'T', 't', '3567', 'a', 'M', 'I', '1165', '6623', '843', '2127', 'S', 'R']
Output (English): RS7212