#include <iostream>
using namespace std;
int somma=0;
int i;
int voto;
int main() {
for (i=1; i<=10; i++)
{cin>>voto;
somma=somma+voto;}
cout<<"somma= "<<somma<<endl;
float Media =somma/10; // float Media =somma/10.0;
cout<<"media= "<<Media<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgc29tbWE9MDsKaW50IGk7CmludCB2b3RvOwppbnQgbWFpbigpIHsKCQoJZm9yIChpPTE7IGk8PTEwOyBpKyspCgl7Y2luPj52b3RvOwoJc29tbWE9c29tbWErdm90bzt9Cgljb3V0PDwic29tbWE9ICI8PHNvbW1hPDxlbmRsOwoJZmxvYXQgTWVkaWEgPXNvbW1hLzEwOyAgIC8vIGZsb2F0IE1lZGlhID1zb21tYS8xMC4wOwoJY291dDw8Im1lZGlhPSAiPDxNZWRpYTw8ZW5kbDsKCXJldHVybiAwOwp9