#include #include using namespace std; int main() { string n; cin >> n; cout << (n.size() + 1) / 2 << endl; }