#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 main() {
  while (1) {
    int x, y;
    scanf("%d %d", &x, &y);
    if (x == 0 && y == 0)
      break;
    if (x + y == 13)
      printf("Never speak again.\n");
    else if (x > y)
      printf("To the convention.\n");
    else if (x < y)
      printf("Left beehind.\n");
    else
      printf("Undecided.\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
call   1040 <scanf@plt>
cmpl   $0x0,-0x8(%rbp)
jne    115c <main+0x3c>
cmpl   $0x0,-0xc(%rbp)
jne    115c <main+0x3c>
jmp    11d1 <main+0xb1>
mov    -0x8(%rbp),%eax
add    -0xc(%rbp),%eax
cmp    $0xd,%eax
jne    117c <main+0x5c>
lea    0xe94(%rip),%rdi
call   1030 <printf@plt>
jmp    11cc <main+0xac>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jle    1199 <main+0x79>
lea    0xe8b(%rip),%rdi
call   1030 <printf@plt>
jmp    11c7 <main+0xa7>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11b6 <main+0x96>
lea    0xe82(%rip),%rdi
call   1030 <printf@plt>
jmp    11c2 <main+0xa2>
lea    0xe80(%rip),%rdi
call   1030 <printf@plt>
jmp    11c7 <main+0xa7>
jmp    11cc <main+0xac>
jmp    112f <main+0xf>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xece(%rip),%rdi
lea    0x4(%rsp),%rsi
mov    %rsp,%rdx
call   1040 <scanf@plt>
mov    0x4(%rsp),%eax
mov    (%rsp),%ecx
mov    %eax,%edx
or     %ecx,%edx
jne    115d <main+0x3d>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xece(%rip),%r12
lea    0xe95(%rip),%r14
lea    0x4(%rsp),%r15
mov    %rsp,%rbx
lea    0xea5(%rip),%r13
lea    0xe90(%rip),%rbp
jmp    11b0 <main+0x90>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
call   1030 <puts@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1040 <scanf@plt>
mov    0x4(%rsp),%eax
mov    (%rsp),%ecx
mov    %eax,%edx
or     %ecx,%edx
je     114c <main+0x2c>
lea    (%rcx,%rax,1),%edx
mov    %r12,%rdi
cmp    $0xd,%edx
je     1190 <main+0x70>
mov    %r13,%rdi
cmp    %ecx,%eax
jg     1190 <main+0x70>
mov    %rbp,%rdi
jl     1190 <main+0x70>
lea    0xe38(%rip),%rdi
jmp    1190 <main+0x70>

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

LLVM IR (-O2):
@.str = [6 x i8] c"%d %d\00"
@str = [11 x i8] c"Undecided.\00"
@str.5 = [14 x i8] c"Left beehind.\00"
@str.6 = [19 x i8] c"To the convention.\00"
@str.7 = [19 x i8] c"Never speak again.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2)
%6 = load i32, i32* %1
%7 = icmp eq i32 %6, 0
%8 = load i32, i32* %2
%9 = icmp eq i32 %8, 0
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %30, label %11
11: ; preds = %0, %21
%12 = phi i32 [ %27, %21 ], [ %8, %0 ]
%13 = phi i32 [ %25, %21 ], [ %6, %0 ]
%14 = add nsw i32 %12, %13
%15 = icmp eq i32 %14, 13
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = icmp sgt i32 %13, %12
br i1 %17, label %21, label %18
18: ; preds = %16
%19 = icmp slt i32 %13, %12
%20 = select i1 %19, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0)
br label %21
21: ; preds = %18, %16, %11
%22 = phi i8* [ getelementptr inbounds ([19 x i8], [19 x i8]* @str.7, i64 0, i64 0), %11 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @str.6, i64 0, i64 0), %16 ], [ %20, %18 ]
%23 = call i32 @puts(i8* dereferenceable(1) %22)
%24 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2)
%25 = load i32, i32* %1
%26 = icmp eq i32 %25, 0
%27 = load i32, i32* %2
%28 = icmp eq i32 %27, 0
%29 = select i1 %26, i1 %28, i1 false
br i1 %29, label %30, label %11
30: ; preds = %21, %0
ret i32 0
}