using System; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { static void Main() { var abc = Console.ReadLine().Split().Select(int.Parse).ToArray(); var a = abc[0]; var b = abc[1]; var c = abc[2]; if (a == b && b == c) { Console.WriteLine(1); } else if(a == b || a == c) { Console.WriteLine(2); } else if(a != b && b != c) { Console.WriteLine(3); } } }