// I AM A MUSLIM
#include "bits/stdc++.h"
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
#define fast_io std::ios::sync_with_stdio(0);std::cin.tie(0)
#define lli long long int
#define flush fflush(stdout)
#define line printf("\n")
#define yn(a, b) printf("%s\n", (a) >= (b) ? "Yes":"No")
#define amodm(a, M) (((a)%M+M)%M)
#define read(s) std::string s;std::cin >> s
#define write(s) printf("%s\n", s.c_str())
// #define int lli
using pii = std::pair<int,int>;
const int MOD = 1000000007;
const int mxN = 500100;
signed main() {
int testCases=1;
// scanf("%d",&testCases);
for (int TC = 1; TC <= testCases; TC++) {
std::string s; getline(std::cin, s); printf("%d", (int)s.size());
}
return 0;
}
Ly8gSSBBTSBBIE1VU0xJTQoKI2luY2x1ZGUgImJpdHMvc3RkYysrLmgiCgojcHJhZ21hIEdDQyBvcHRpbWl6ZSgiTzMsdW5yb2xsLWxvb3BzIikKI3ByYWdtYSBHQ0MgdGFyZ2V0KCJhdngyLGJtaSxibWkyLGx6Y250LHBvcGNudCIpCgojZGVmaW5lIGZhc3RfaW8gc3RkOjppb3M6OnN5bmNfd2l0aF9zdGRpbygwKTtzdGQ6OmNpbi50aWUoMCkKI2RlZmluZSBsbGkgbG9uZyBsb25nIGludAojZGVmaW5lIGZsdXNoIGZmbHVzaChzdGRvdXQpCiNkZWZpbmUgbGluZSBwcmludGYoIlxuIikKI2RlZmluZSB5bihhLCBiKSBwcmludGYoIiVzXG4iLCAoYSkgPj0gKGIpID8gIlllcyI6Ik5vIikKI2RlZmluZSBhbW9kbShhLCBNKSAoKChhKSVNK00pJU0pCiNkZWZpbmUgcmVhZChzKSBzdGQ6OnN0cmluZyBzO3N0ZDo6Y2luID4+IHMKI2RlZmluZSB3cml0ZShzKSBwcmludGYoIiVzXG4iLCBzLmNfc3RyKCkpCi8vICNkZWZpbmUgaW50IGxsaQoKdXNpbmcgcGlpID0gc3RkOjpwYWlyPGludCxpbnQ+OwoKY29uc3QgaW50IE1PRCA9IDEwMDAwMDAwMDc7CmNvbnN0IGludCBteE4gPSA1MDAxMDA7CgpzaWduZWQgbWFpbigpIHsKICAgIGludCB0ZXN0Q2FzZXM9MTsKICAgIC8vIHNjYW5mKCIlZCIsJnRlc3RDYXNlcyk7CiAgICAKICAgIGZvciAoaW50IFRDID0gMTsgVEMgPD0gdGVzdENhc2VzOyBUQysrKSB7CiAgICAgICAgc3RkOjpzdHJpbmcgczsgZ2V0bGluZShzdGQ6OmNpbiwgcyk7IHByaW50ZigiJWQiLCAoaW50KXMuc2l6ZSgpKTsKICAgIH0KICAgIAogICAgcmV0dXJuIDA7Cn0=