#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1264
Task: ,</think>

Write a Python function that takes a list of integers and returns the maximum product of any three consecutive integers in the list.
Generated: 2026-02-13T02:11:35.765985
"""

def max_product_of_three_consecutive(nums):
    max_product = float('-inf')
    for i in range(len(nums) - 2):
        product = nums[i] * nums[i+1] * nums[i+2]
        if product > max_product:
            max_product = product
    return max_product

if __name__ == '__main__':
    test_data = [1, 2, 3, 4, 5, 6]
    result = max_product_of_three_consecutive(test_data)
    print("Maximum product of three consecutive integers:", result)