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