#include <iostream>
using namespace std;
int main() {
int number=1234;
int i=0;
int j=1;
while (number/j != 0)
{
i++;
j*=10;
}
cout << i;
// your code goes here
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbnVtYmVyPTEyMzQ7CglpbnQgaT0wOwoJaW50IGo9MTsgCgl3aGlsZSAobnVtYmVyL2ogIT0gMCkKCXsKCQlpKys7CgkJaio9MTA7Cgl9Cgljb3V0IDw8IGk7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglyZXR1cm4gMDsKfQ==