#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, int *, int *, int *);
int main() {
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if (a == b) {
    if (b == c) {
      printf("equilatero\n");
    } else {
      printf("isosceles\n");
    }
  } else {
    if (b == c) {
      printf("isosceles\n");
    } else {
      if (c == a) {
        printf("isosceles\n");
      } else {
        printf("escaleno\n");
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jne    1181 <main+0x61>
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
jne    1170 <main+0x50>
lea    0xea1(%rip),%rdi
call   1030 <printf@plt>
jmp    117c <main+0x5c>
lea    0xe9c(%rip),%rdi
call   1030 <printf@plt>
jmp    11d1 <main+0xb1>
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
jne    119e <main+0x7e>
lea    0xe7f(%rip),%rdi
call   1030 <printf@plt>
jmp    11cc <main+0xac>
mov    -0x10(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    11bb <main+0x9b>
lea    0xe62(%rip),%rdi
call   1030 <printf@plt>
jmp    11c7 <main+0xa7>
lea    0xe5c(%rip),%rdi
call   1030 <printf@plt>
jmp    11cc <main+0xac>
jmp    11d1 <main+0xb1>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
lea    0xed5(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
call   1040 <scanf@plt>
mov    0x14(%rsp),%eax
mov    0x10(%rsp),%edx
mov    0xc(%rsp),%ecx
cmp    %edx,%eax
jne    1161 <main+0x41>
cmp    %ecx,%eax
lea    0xec2(%rip),%rax
lea    0xeb1(%rip),%rdi
jmp    117e <main+0x5e>
cmp    %ecx,%edx
jne    116e <main+0x4e>
lea    0xea4(%rip),%rdi
jmp    1182 <main+0x62>
cmp    %eax,%ecx
lea    0xe99(%rip),%rax
lea    0xe89(%rip),%rdi
cmove  %rax,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"%d%d%d\00"
@.str.1 = [12 x i8] c"equilatero\0A\00"
@.str.2 = [11 x i8] c"isosceles\0A\00"
@.str.3 = [10 x i8] c"escaleno\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
%5 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32* %2, i32* %3, i32* %4)
%6 = load i32, i32* %2
%7 = load i32, i32* %3
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %18
9: ; preds = %0
%10 = load i32, i32* %3
%11 = load i32, i32* %4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
br label %17
15: ; preds = %9
%16 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
br label %17
17: ; preds = %15, %13
br label %34
18: ; preds = %0
%19 = load i32, i32* %3
%20 = load i32, i32* %4
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
br label %33
24: ; preds = %18
%25 = load i32, i32* %4
%26 = load i32, i32* %2
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
br label %32
30: ; preds = %24
%31 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %32
32: ; preds = %30, %28
br label %33
33: ; preds = %32, %22
br label %34
34: ; preds = %33, %17
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"%d%d%d\00"
@str = [9 x i8] c"escaleno\00"
@str.6 = [10 x i8] c"isosceles\00"
@str.7 = [11 x i8] c"equilatero\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = bitcast i32* %1 to i8*
%5 = bitcast i32* %2 to i8*
%6 = bitcast i32* %3 to i8*
%7 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2, i32* %3)
%8 = load i32, i32* %1
%9 = load i32, i32* %2
%10 = icmp eq i32 %8, %9
%11 = load i32, i32* %3
br i1 %10, label %12, label %15
12: ; preds = %0
%13 = icmp eq i32 %8, %11
%14 = select i1 %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @str.7, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @str.6, i64 0, i64 0)
br label %20
15: ; preds = %0
%16 = icmp eq i32 %9, %11
br i1 %16, label %20, label %17
17: ; preds = %15
%18 = icmp eq i32 %11, %8
%19 = select i1 %18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0)
br label %20
20: ; preds = %17, %15, %12
%21 = phi i8* [ %14, %12 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @str.6, i64 0, i64 0), %15 ], [ %19, %17 ]
%22 = call i32 @puts(i8* dereferenceable(1) %21)
ret i32 0
}