Task: Program Execution
Input (English): 6, 9, ['5553', '6311', '3897', '6581', '7935', '75', 'R', 'S', '673']
Output (English): 376SR57