#include <iostream>
using namespace std;
const int TEN = 10;
int main() {
int no, count = 0;
while (no >= 0) {
cin >> no;
--no;
if (no % TEN == 0) {
++count;
}
}
cout << count;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3QgaW50IFRFTiA9IDEwOwoKaW50IG1haW4oKSB7CiAgICBpbnQgbm8sIGNvdW50ID0gMDsKICAgIHdoaWxlIChubyA+PSAwKSB7CiAgICAgICAgY2luID4+IG5vOwogICAgICAgIC0tbm87CiAgICAgICAgaWYgKG5vICUgVEVOID09IDApIHsKICAgICAgICAgICAgKytjb3VudDsKICAgICAgICB9CiAgICB9CiAgICBjb3V0IDw8IGNvdW50OwogICAgcmV0dXJuIDA7Cn0=