#include "bits/stdc++.h" using namespace std; int main() { string S; cin >> S; int X = S.size(); cout << abs(X - 10); }