#include <stdio.h>
int main()
{
int n,count=0;
if(n>0)
{
for(;n>0;)
{
n=n/10;
count++;
}
}
else
count=-1;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIAp7CglpbnQgbixjb3VudD0wOwoJc2NhbmYoIiVkIiwmbik7CglpZihuPjApCgl7CgkJZm9yKDtuPjA7KQoJCXsKCQkJbj1uLzEwOwoJCQljb3VudCsrOwoJCX0KCX0KCWVsc2UKCWNvdW50PS0xOwoJcHJpbnRmKCIlZCIsY291bnQpOwoJcmV0dXJuIDA7Cn0K