Task: Program Execution
Input (English): 2, 4, ['4315', '5531', '7431', 'S']
Output (English): 5531, 7431, S