#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 argc, char const *argv[]) {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  if ((a > 35) && (b > 35) && (c > 35)) {
    printf("Result:Pass\n");
  } else if ((a < 35) && (b < 35) && (c < 35)) {
    printf("Result:Fail\n");
  } else {
    printf("Result:Supplementary\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec3(%rip),%rdi
lea    -0x14(%rbp),%rsi
lea    -0x18(%rbp),%rdx
lea    -0x1c(%rbp),%rcx
call   1040 <scanf@plt>
cmpl   $0x23,-0x14(%rbp)
jle    117d <main+0x5d>
cmpl   $0x23,-0x18(%rbp)
jle    117d <main+0x5d>
cmpl   $0x23,-0x1c(%rbp)
jle    117d <main+0x5d>
lea    0xe96(%rip),%rdi
call   1030 <printf@plt>
jmp    11bd <main+0x9d>
cmpl   $0x23,-0x14(%rbp)
jge    11ac <main+0x8c>
cmpl   $0x23,-0x18(%rbp)
jge    11ac <main+0x8c>
cmpl   $0x23,-0x1c(%rbp)
jge    11ac <main+0x8c>
lea    0xe74(%rip),%rdi
call   1030 <printf@plt>
jmp    11b8 <main+0x98>
lea    0xe70(%rip),%rdi
call   1030 <printf@plt>
jmp    11bd <main+0x9d>
xor    %eax,%eax
add    $0x20,%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),%ecx
mov    0xc(%rsp),%edx
cmp    $0x24,%eax
jl     1163 <main+0x43>
cmp    $0x24,%ecx
jl     1163 <main+0x43>
cmp    $0x23,%edx
jle    1163 <main+0x43>
lea    0xec9(%rip),%rdi
jmp    1186 <main+0x66>
cmp    $0x23,%edx
lea    0xeb1(%rip),%rdi
lea    0xe95(%rip),%rdx
cmovge %rdx,%rdi
cmp    $0x23,%ecx
cmovge %rdx,%rdi
cmp    $0x23,%eax
cmovge %rdx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

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

LLVM IR (-O2):
@.str = [9 x i8] c"%d %d %d\00"
@str = [21 x i8] c"Result:Supplementary\00"
@str.4 = [12 x i8] c"Result:Fail\00"
@str.5 = [12 x i8] c"Result:Pass\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = bitcast i32* %3 to i8*
%7 = bitcast i32* %4 to i8*
%8 = bitcast i32* %5 to i8*
%9 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32* %3, i32* %4, i32* %5)
%10 = load i32, i32* %3
%11 = icmp sgt i32 %10, 35
%12 = load i32, i32* %4
%13 = icmp sgt i32 %12, 35
%14 = select i1 %11, i1 %13, i1 false
%15 = load i32, i32* %5
%16 = icmp sgt i32 %15, 35
%17 = select i1 %14, i1 %16, i1 false
br i1 %17, label %25, label %18
18: ; preds = %2
%19 = icmp slt i32 %10, 35
%20 = icmp slt i32 %12, 35
%21 = select i1 %19, i1 %20, i1 false
%22 = icmp slt i32 %15, 35
%23 = select i1 %21, i1 %22, i1 false
%24 = select i1 %23, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @str.4, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @str, i64 0, i64 0)
br label %25
25: ; preds = %18, %2
%26 = phi i8* [ getelementptr inbounds ([12 x i8], [12 x i8]* @str.5, i64 0, i64 0), %2 ], [ %24, %18 ]
%27 = call i32 @puts(i8* dereferenceable(1) %26)
ret i32 0
}