using static System.Console;
public class Program {
public static void Main() => WriteLine((3.1415.ToString()).Split('.')[1].Length);
}