Task: Program Execution
Input (English): 3, 8, ['9871', '9753', '1297', 'R', 'w', 'L', 'k', '4627', '1645', '9139', '5441', '6731', 'I', '351', '9931', 'Z', 'A', '6773']
Output (English): 1297, 5441