#include
using namespace std;
int main(){
int mt[5][6] = {};
for (int i = 0;i<5;i++)</p>
for (int j = 0;j<6;j++)</p>
cin>>mt[i][j];
for (int j = 0;j<6;j++){</p>
int curSum = 0, cnt = 0;
for (int i = 0;i<5;i++)</p>
if(mt[i][j] < 0){
curSum+=mt[i][j];
cnt++;
}
cout<<(float)curSum / cnt<<' ';</p>
}
return 0;
}