#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1133
Task: ,

Write a Python function that transforms a given paragraph into a sequence of words with alternating vowel and consonant starting letters, preserving the original word order and case.
Generated: 2026-02-12T21:25:19.098640
"""

import re

def transform_paragraph(paragraph):
    vowels = set('aeiouAEIOU')
    words = re.findall(r'\b\w+\b', paragraph)
    result = []

    for word in words:
        if not word:
            continue
        first_letter = word[0]
        if first_letter in vowels:
            # Next word should start with consonant
            result.append(word)
        else:
            # Next word should start with vowel
            result.append(word)
    
    # Join the words with spaces
    return ' '.join(result)

if __name__ == '__main__':
    example_paragraph = "The quick brown fox jumps over the lazy dog."
    transformed = transform_paragraph(example_paragraph)
    print(transformed)