#include #include #include using namespace std; int main() { string s; cin >> s; cout << abs(s.length() - 10.0) << endl; return 0; }