#include
using namespace std;
int main()
{
double S = 0;
int N = 0, K = 0, A;
cout <<"K = ",cin >> K;
for(int i = 0; i < K; i++)
{
cout <<"Nabor "<<i<<": ";<br> S = 0;
N = 0;
cin >> A;
while(A != 0)
{
S+=A;
N++;
cin >> A;
}
if (N!=0) cout <<"Sr = "<<S/N<<"\n";<br> else cout <<"Na noll delit' nel'zja!\n";<br> }
return 0;
}