Task: Program Execution
Input (English): 3, 8, ['r', '8069', 'S', 'H', '501', '1973', '4741', '5851', '2483']
Output (English): SH501197347415851