Task: Program Execution
Input (English): 3, 4, ['4563', '5441', '713', '1351', 'R', 'H', 'I']
Output (English): 1351, 713