using System; class MainClass { public static void Main(string[] args) { // 1000000007 string stdin = Console.ReadLine(); Console.WriteLine(Math.Abs(10 - stdin.Length)); } }