import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a1 = sc.nextInt(); long a2 = sc.nextInt(); long a3 = sc.nextInt(); long Max=Math.max(Math.max(a1,a2),a3); int count =0; for(int i=1;i<=Max;i++){ long b1=a1%i; long b2=a2%i; long b3=a3%i; if(((b1!=b2)&&(b2!=b3)&&(b3!=b1))&&(((b2>b1)&&(b2>b3))||((b2a1)&&(a2>a3))||((a2