#include <bits/stdc++.h> using namespace std; int ans; char s; int main(){ while(cin >> s){ ans++; } cout << ans; }