#include <iostream>
#include <cstring>
using namespace std;

char s[50];
int n;

int main() {
  cin.getline(s, 1);
  cout << strlen(s);
  return 0;
}