using System; using System.Collections.Generic; using System.Linq; using static System.Console; class Program { static void Main() { WriteLine(Math.Abs(10 - ReadLine().Length)); } }