import math


def aoc_2015_10_2(data, **kwargs):
    """Get result length of look-and-say starting value over 50 iterations"""
    data = data.strip()

    size = len(data) * math.pow(1.303577269, 50)
    print(size)

    def transform(value):
        char = value[0]
        count = 1
        value = value[1:] + ' '
        output = ''

        for actual in value:
            if actual != char:
                output += f'{count}{char}'
                count = 1
                char = actual
            else:
                count += 1

        return output

    for _ in range(50):
        data = transform(data)

    print(len(data))