def sqreuclidean_distance(input1: list, input2: list):
    """
    function that calculates the squared euclidean distance for our task
    :param input1: instance 1
    :param input2: instance 2
    :return: distance
    """
    distance = 0
    for i in range(len(input1)-1):
        distance += pow(input1[i] - input2[i], 2)
    return distance