﻿# -*- coding: utf-8 -*-
""" Task 703 """

def average_vectors(first_idx, second_idx, clusters):
    """ rozw """
    return [(a+b)/2 for a, b in \
    zip(clusters[first_idx].vec, clusters[second_idx].vec)]