#include #include int main(void){ std::string a; std::cin >> a; std::string s={"1000000007"}; std::cout << a.length()-s.length() <