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