
    for element in range(input_length):
        total = 0

        # Everything to the left of element is bound to be zero additions.
        for this_digit in range(element, input_length):
            total += input_list[this_digit] * pattern_pos(element_number=element + 1, position=this_digit)

        last_digit = int(str(total)[-1:])
        output.append(last_digit)

    return output

