What is the length of the shortest polymer you can produce by removing all
units of exactly one type and fully reacting the result?
"""
import re
import string

from src.year2018.day05a import solve as length


def solve(task: str) -> int:
    """Find the shortest polymer for each possible reduction."""
    results = []
    polymer = task.strip()