#include <iostream>
using namespace std;
int V[10];
int T[10]= {1,2,3,4,5,6,7,8,9,10};
int Q[]={11,12,13};
int main() {
for (int i=0;i<10;i++)
cin>>V[i];
for (int i=0;i<10;i++)
cout<<V[i]<<"\t";
cout<<endl;
for (int i=0;i<10;i++)
cout<<T[i]<<"\t";
cout<<endl;
for (int i=0;i<3;i++)
cout<<Q[i]<<"\t";
// media aritmetica semplice degli elementi del vettore V
cout<<endl;
int somma=0;
for (int i=0;i<10;i++)
somma = somma + V[i];
float Media= somma/10.0;
cout<<"Media= "<<Media<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgVlsxMF07CmludCBUWzEwXT0gezEsMiwzLDQsNSw2LDcsOCw5LDEwfTsKaW50IFFbXT17MTEsMTIsMTN9OwppbnQgbWFpbigpIHsKZm9yIChpbnQgaT0wO2k8MTA7aSsrKQpjaW4+PlZbaV07CmZvciAoaW50IGk9MDtpPDEwO2krKykKY291dDw8VltpXTw8Ilx0IjsKY291dDw8ZW5kbDsKZm9yIChpbnQgaT0wO2k8MTA7aSsrKQpjb3V0PDxUW2ldPDwiXHQiOwpjb3V0PDxlbmRsOwpmb3IgKGludCBpPTA7aTwzO2krKykKY291dDw8UVtpXTw8Ilx0IjsKLy8gbWVkaWEgYXJpdG1ldGljYSBzZW1wbGljZSBkZWdsaSBlbGVtZW50aSBkZWwgdmV0dG9yZSBWCmNvdXQ8PGVuZGw7CmludCBzb21tYT0wOwpmb3IgKGludCBpPTA7aTwxMDtpKyspCnNvbW1hID0gc29tbWEgKyBWW2ldOwpmbG9hdCBNZWRpYT0gc29tbWEvMTAuMDsKY291dDw8Ik1lZGlhPSAiPDxNZWRpYTw8ZW5kbDsKcmV0dXJuIDA7Cn0=