Task: Program Execution
Input (English): 3, 5, ['B', '6295', '1273', 'r', '2143', '7299', 'y', 'N', 'V', 'Q', 'O', '2427', '4571', '193', '6111', '8117']
Output (English): 1273, N, 4571