/* -*- coding: utf-8 -*- * * 1329.cc: No.1329 Square Sqsq - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ const int MAX_N = 100000; /* typedef */ /* global variables */ char s[MAX_N + 4]; /* subroutines */ /* main */ int main() { scanf("%s", s); int n = strlen(s); printf("%d\n", (n + 1) / 2); return 0; }