import java.util.*;
public class IntOrder {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if (a == b && a == c) {
System.out.println("All no are same");
} else if ((a == b) || (b == c) || (c == a)) {
System.out.println("Neither all are equal or different");
} else {
System.out.println("All no are different");
}
}
}