#include <iostream>
using namespace std;
int negativi=0;
int somma=0;
int n;
int i;
int main() {
for(int i=1;i<=10;i++)
{
cin>>n;
while(n<=0)
{
negativi++;
cin>>n;
}
somma=somma+n;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG5lZ2F0aXZpPTA7CmludCBzb21tYT0wOwppbnQgbjsKaW50IGk7CmludCBtYWluKCkgewogICAgZm9yKGludCBpPTE7aTw9MTA7aSsrKQogICAgewogICAgICAgIGNpbj4+bjsKICAgICAgICB3aGlsZShuPD0wKQogICAgICAgIHsKICAgICAgICAgICAgbmVnYXRpdmkrKzsKICAgICAgICAgICAgY2luPj5uOwogICAgICAgIH0KICAgICAgICBzb21tYT1zb21tYStuOwogICAKCX0KCXJldHVybiAwOwp9