def part_b(puzzle_input):
    """
    Calculate the answer for part_b.

    No need for a list since we only need to keep track of the latest number
    "written" when we are at index 0. This will speed up the calcuations... a lot!

    Args:
        puzzle_input (list): Formatted as the provided input from the website.
    Returns:
        string: The answer for part_b.

    """
    steps = int(''.join(puzzle_input))
    index = 0
    n = 0
    for i in range(1, 50000001):
        index = (index + steps) % i
        if index == 0:
            n = i
        index += 1
    return str(n)