using System.Numerics; public class Program { public static void Main() { //int num = int.Parse(Console.ReadLine() ?? string.Empty); string[] str = (Console.ReadLine() ?? string.Empty).Trim().Split(' '); //string str = Console.ReadLine() ?? string.Empty; int i = int.Parse(str[0]); int j = int.Parse(str[1]); int k = int.Parse(str[2]); int x = ((i * j)*2)+ ((i * k) * 2) + ((k * j) * 2); int y = i * j * k; if(x > y) { Console.WriteLine("2"); } else { Console.WriteLine("3"); } } }