import sys, re, html as html_mod

body = sys.stdin.read()

# Extract list items with full title from title attribute
for m in re.finditer(r'<li[^>]*class="clearfix"[^>]*>(.*?)</li>', body, re.S):
    li = m.group(1)
    # Title attribute gives the full title
    a = re.search(r'<a[^>]*title=["\']([^"\']*)["\'][^>]*href=["\']([^"\']*)["\'][^>]*>', li)
    if a:
        title = a.group(1).strip()
        href = a.group(2).strip()
        # Date
        date_m = re.search(r'(\d{4}[-/]\d{2}[-/]\d{2})', li)
        date_str = date_m.group(1) if date_m else ''
        print(f'TITLE: [{title[:80]}] HREF: [{href}] DATE: [{date_str}]')
