using System;
using System.Numerics;
public class Program
{
public static void Main()
{
BigInteger bigInteger = BigInteger.Parse("58820136703657669922151936");
try {
int length = Convert.ToInt32(Math.Ceiling(BigInteger.Log(bigInteger, 10)));
Console.WriteLine("Length: " + length);
}
catch (ArithmeticException e) {
Console.WriteLine(e.Message);
}
}
}
/*
run:
Length: 26
*/