#include <algorithm>
#include <iostream>
#include <string>
int main()
{
std::string s;
std::cin >> s;
auto n = std::count(s.cbegin(), s.cend(), '1');
std::cout << "the number of '1's in the string \"" << s << "\" is: " << n << "\n";
}
I2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKaW50IG1haW4oKQp7CglzdGQ6OnN0cmluZyBzOwoJc3RkOjpjaW4gPj4gczsKCWF1dG8gbiA9IHN0ZDo6Y291bnQocy5jYmVnaW4oKSwgcy5jZW5kKCksICcxJyk7CglzdGQ6OmNvdXQgPDwgInRoZSBudW1iZXIgb2YgJzEncyBpbiB0aGUgc3RyaW5nIFwiIiA8PCBzIDw8ICJcIiBpczogIiA8PCBuIDw8ICJcbiI7Cn0=