#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);
int main() {
  int n;
  int product = 0;
  int largestProduct = 0;
  int number[1000] = {
      7, 3, 1, 6, 7, 1, 7, 6, 5, 3, 1, 3, 3, 0, 6, 2, 4, 9, 1, 9, 2, 2, 5, 1,
      1, 9, 6, 7, 4, 4, 2, 6, 5, 7, 4, 7, 4, 2, 3, 5, 5, 3, 4, 9, 1, 9, 4, 9,
      3, 4, 9, 6, 9, 8, 3, 5, 2, 0, 3, 1, 2, 7, 7, 4, 5, 0, 6, 3, 2, 6, 2, 3,
      9, 5, 7, 8, 3, 1, 8, 0, 1, 6, 9, 8, 4, 8, 0, 1, 8, 6, 9, 4, 7, 8, 8, 5,
      1, 8, 4, 3, 8, 5, 8, 6, 1, 5, 6, 0, 7, 8, 9, 1, 1, 2, 9, 4, 9, 4, 9, 5,
      4, 5, 9, 5, 0, 1, 7, 3, 7, 9, 5, 8, 3, 3, 1, 9, 5, 2, 8, 5, 3, 2, 0, 8,
      8, 0, 5, 5, 1, 1, 1, 2, 5, 4, 0, 6, 9, 8, 7, 4, 7, 1, 5, 8, 5, 2, 3, 8,
      6, 3, 0, 5, 0, 7, 1, 5, 6, 9, 3, 2, 9, 0, 9, 6, 3, 2, 9, 5, 2, 2, 7, 4,
      4, 3, 0, 4, 3, 5, 5, 7, 6, 6, 8, 9, 6, 6, 4, 8, 9, 5, 0, 4, 4, 5, 2, 4,
      4, 5, 2, 3, 1, 6, 1, 7, 3, 1, 8, 5, 6, 4, 0, 3, 0, 9, 8, 7, 1, 1, 1, 2,
      1, 7, 2, 2, 3, 8, 3, 1, 1, 3, 6, 2, 2, 2, 9, 8, 9, 3, 4, 2, 3, 3, 8, 0,
      3, 0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 5, 5, 9, 3, 5, 7, 2, 9, 7, 2, 5, 7, 1, 6, 3, 6, 2, 6, 9, 5, 6,
      1, 8, 8, 2, 6, 7, 0, 4, 2, 8, 2, 5, 2, 4, 8, 3, 6, 0, 0, 8, 2, 3, 2, 5,
      7, 5, 3, 0, 4, 2, 0, 7, 5, 2, 9, 6, 3, 4, 5, 0};
  for (n = 0; n < 1000 - 4; n++) {
    product = number[n] * number[n + 1] * number[n + 2] * number[n + 3] *
              number[n + 4];
    if (product > largestProduct) {
      largestProduct = product;
    }
  }
  printf("The largest product is: %d", largestProduct);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xfb0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
lea    -0xfb0(%rbp),%rdi
lea    0xeb2(%rip),%rsi
mov    $0xfa0,%edx
call   1040 <memcpy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x3e4,-0x8(%rbp)
jge    11e3 <main+0xc3>
movslq -0x8(%rbp),%rax
mov    -0xfb0(%rbp,%rax,4),%eax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
imul   -0xfb0(%rbp,%rcx,4),%eax
ff
mov    -0x8(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
imul   -0xfb0(%rbp,%rcx,4),%eax
ff
mov    -0x8(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
imul   -0xfb0(%rbp,%rcx,4),%eax
ff
mov    -0x8(%rbp),%ecx
add    $0x4,%ecx
movslq %ecx,%rcx
imul   -0xfb0(%rbp,%rcx,4),%eax
ff
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
jle    11d0 <main+0xb0>
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
jmp    11d5 <main+0xb5>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    115f <main+0x3f>
mov    -0x10(%rbp),%esi
lea    0x1db3(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0xfb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
xor    %esi,%esi
mov    $0x7,%ecx
mov    $0x3,%edx
mov    $0x1,%edi
mov    $0x6,%r11d
mov    $0x5,%eax
lea    0xecc(%rip),%r8
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %edi,%r9d
mov    %r11d,%r10d
imul   %edx,%ecx
mov    %edi,%ebx
imul   %r11d,%ebx
imul   %ecx,%ebx
mov    -0x4(%r8,%rax,4),%edi
mov    (%r8,%rax,4),%r11d
imul   %edi,%ebx
cmp    %esi,%ebx
cmovle %esi,%ebx
imul   %r9d,%edx
imul   %r10d,%edx
imul   %edi,%edx
imul   %r11d,%edx
cmp    %ebx,%edx
mov    %edx,%esi
cmovle %ebx,%esi
add    $0x2,%rax
mov    %r10d,%edx
mov    %r9d,%ecx
cmp    $0x3e9,%rax
jne    1140 <main+0x30>
lea    0x1e0e(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@__const.main.number = [1000 x i32] [i32 7, i32 3, i32 1, i32 6, i32 7, i32 1, i32 7, i32 6, i32 5, i32 3, i32 1, i32 3, i32 3, i32 0, i32 6, i32 2, i32 4, i32 9, i32 1, i32 9, i32 2, i32 2, i32 5, i32 1, i32 1, i32 9, i32 6, i32 7, i32 4, i32 4, i32 2, i32 6, i32 5, i32 7, i32 4, i32 7, i32 4, i32 2, i32 3, i32 5, i32 5, i32 3, i32 4, i32 9, i32 1, i32 9, i32 4, i32 9, i32 3, i32 4, i32 9, i32 6, i32 9, i32 8, i32 3, i32 5, i32 2, i32 0, i32 3, i32 1, i32 2, i32 7, i32 7, i32 4, i32 5, i32 0, i32 6, i32 3, i32 2, i32 6, i32 2, i32 3, i32 9, i32 5, i32 7, i32 8, i32 3, i32 1, i32 8, i32 0, i32 1, i32 6, i32 9, i32 8, i32 4, i32 8, i32 0, i32 1, i32 8, i32 6, i32 9, i32 4, i32 7, i32 8, i32 8, i32 5, i32 1, i32 8, i32 4, i32 3, i32 8, i32 5, i32 8, i32 6, i32 1, i32 5, i32 6, i32 0, i32 7, i32 8, i32 9, i32 1, i32 1, i32 2, i32 9, i32 4, i32 9, i32 4, i32 9, i32 5, i32 4, i32 5, i32 9, i32 5, i32 0, i32 1, i32 7, i32 3, i32 7, i32 9, i32 5, i32 8, i32 3, i32 3, i32 1, i32 9, i32 5, i32 2, i32 8, i32 5, i32 3, i32 2, i32 0, i32 8, i32 8, i32 0, i32 5, i32 5, i32 1, i32 1, i32 1, i32 2, i32 5, i32 4, i32 0, i32 6, i32 9, i32 8, i32 7, i32 4, i32 7, i32 1, i32 5, i32 8, i32 5, i32 2, i32 3, i32 8, i32 6, i32 3, i32 0, i32 5, i32 0, i32 7, i32 1, i32 5, i32 6, i32 9, i32 3, i32 2, i32 9, i32 0, i32 9, i32 6, i32 3, i32 2, i32 9, i32 5, i32 2, i32 2, i32 7, i32 4, i32 4, i32 3, i32 0, i32 4, i32 3, i32 5, i32 5, i32 7, i32 6, i32 6, i32 8, i32 9, i32 6, i32 6, i32 4, i32 8, i32 9, i32 5, i32 0, i32 4, i32 4, i32 5, i32 2, i32 4, i32 4, i32 5, i32 2, i32 3, i32 1, i32 6, i32 1, i32 7, i32 3, i32 1, i32 8, i32 5, i32 6, i32 4, i32 0, i32 3, i32 0, i32 9, i32 8, i32 7, i32 1, i32 1, i32 1, i32 2, i32 1, i32 7, i32 2, i32 2, i32 3, i32 8, i32 3, i32 1, i32 1, i32 3, i32 6, i32 2, i32 2, i32 2, i32 9, i32 8, i32 9, i32 3, i32 4, i32 2, i32 3, i32 3, i32 8, i32 0, i32 3, i32 0, i32 8, i32 1, i32 3, i32 5, i32 3, i32 3, i32 6, i32 2, i32 7, i32 6, i32 6, i32 1, i32 4, i32 2, i32 8, i32 2, i32 8, i32 0, i32 6, i32 4, i32 4, i32 4, i32 4, i32 8, i32 6, i32 6, i32 4, i32 5, i32 2, i32 3, i32 8, i32 7, i32 4, i32 9, i32 3, i32 0, i32 3, i32 5, i32 8, i32 9, i32 0, i32 7, i32 2, i32 9, i32 6, i32 2, i32 9, i32 0, i32 4, i32 9, i32 1, i32 5, i32 6, i32 0, i32 4, i32 4, i32 0, i32 7, i32 7, i32 2, i32 3, i32 9, i32 0, i32 7, i32 1, i32 3, i32 8, i32 1, i32 0, i32 5, i32 1, i32 5, i32 8, i32 5, i32 9, i32 3, i32 0, i32 7, i32 9, i32 6, i32 0, i32 8, i32 6, i32 6, i32 7, i32 0, i32 1, i32 7, i32 2, i32 4, i32 2, i32 7, i32 1, i32 2, i32 1, i32 8, i32 8, i32 3, i32 9, i32 9, i32 8, i32 7, i32 9, i32 7, i32 9, i32 0, i32 8, i32 7, i32 9, i32 2, i32 2, i32 7, i32 4, i32 9, i32 2, i32 1, i32 9, i32 0, i32 1, i32 6, i32 9, i32 9, i32 7, i32 2, i32 0, i32 8, i32 8, i32 8, i32 0, i32 9, i32 3, i32 7, i32 7, i32 6, i32 6, i32 5, i32 7, i32 2, i32 7, i32 3, i32 3, i32 3, i32 0, i32 0, i32 1, i32 0, i32 5, i32 3, i32 3, i32 6, i32 7, i32 8, i32 8, i32 1, i32 2, i32 2, i32 0, i32 2, i32 3, i32 5, i32 4, i32 2, i32 1, i32 8, i32 0, i32 9, i32 7, i32 5, i32 1, i32 2, i32 5, i32 4, i32 5, i32 4, i32 0, i32 5, i32 9, i32 4, i32 7, i32 5, i32 2, i32 2, i32 4, i32 3, i32 5, i32 2, i32 5, i32 8, i32 4, i32 9, i32 0, i32 7, i32 7, i32 1, i32 1, i32 6, i32 7, i32 0, i32 5, i32 5, i32 6, i32 0, i32 1, i32 3, i32 6, i32 0, i32 4, i32 8, i32 3, i32 9, i32 5, i32 8, i32 6, i32 4, i32 4, i32 6, i32 7, i32 0, i32 6, i32 3, i32 2, i32 4, i32 4, i32 1, i32 5, i32 7, i32 2, i32 2, i32 1, i32 5, i32 5, i32 3, i32 9, i32 7, i32 5, i32 3, i32 6, i32 9, i32 7, i32 8, i32 1, i32 7, i32 9, i32 7, i32 7, i32 8, i32 4, i32 6, i32 1, i32 7, i32 4, i32 0, i32 6, i32 4, i32 9, i32 5, i32 5, i32 1, i32 4, i32 9, i32 2, i32 9, i32 0, i32 8, i32 6, i32 2, i32 5, i32 6, i32 9, i32 3, i32 2, i32 1, i32 9, i32 7, i32 8, i32 4, i32 6, i32 8, i32 6, i32 2, i32 2, i32 4, i32 8, i32 2, i32 8, i32 3, i32 9, i32 7, i32 2, i32 2, i32 4, i32 1, i32 3, i32 7, i32 5, i32 6, i32 5, i32 7, i32 0, i32 5, i32 6, i32 0, i32 5, i32 7, i32 4, i32 9, i32 0, i32 2, i32 6, i32 1, i32 4, i32 0, i32 7, i32 9, i32 7, i32 2, i32 9, i32 6, i32 8, i32 6, i32 5, i32 2, i32 4, i32 1, i32 4, i32 5, i32 3, i32 5, i32 1, i32 0, i32 0, i32 4, i32 7, i32 4, i32 8, i32 2, i32 1, i32 6, i32 6, i32 3, i32 7, i32 0, i32 4, i32 8, i32 4, i32 4, i32 0, i32 3, i32 1, i32 9, i32 9, i32 8, i32 9, i32 0, i32 0, i32 0, i32 8, i32 8, i32 9, i32 5, i32 2, i32 4, i32 3, i32 4, i32 5, i32 0, i32 6, i32 5, i32 8, i32 5, i32 4, i32 1, i32 2, i32 2, i32 7, i32 5, i32 8, i32 8, i32 6, i32 6, i32 6, i32 8, i32 8, i32 1, i32 1, i32 6, i32 4, i32 2, i32 7, i32 1, i32 7, i32 1, i32 4, i32 7, i32 9, i32 9, i32 2, i32 4, i32 4, i32 4, i32 2, i32 9, i32 2, i32 8, i32 2, i32 3, i32 0, i32 8, i32 6, i32 3, i32 4, i32 6, i32 5, i32 6, i32 7, i32 4, i32 8, i32 1, i32 3, i32 9, i32 1, i32 9, i32 1, i32 2, i32 3, i32 1, i32 6, i32 2, i32 8, i32 2, i32 4, i32 5, i32 8, i32 6, i32 1, i32 7, i32 8, i32 6, i32 6, i32 4, i32 5, i32 8, i32 3, i32 5, i32 9, i32 1, i32 2, i32 4, i32 5, i32 6, i32 6, i32 5, i32 2, i32 9, i32 4, i32 7, i32 6, i32 5, i32 4, i32 5, i32 6, i32 8, i32 2, i32 8, i32 4, i32 8, i32 9, i32 1, i32 2, i32 8, i32 8, i32 3, i32 1, i32 4, i32 2, i32 6, i32 0, i32 7, i32 6, i32 9, i32 0, i32 0, i32 4, i32 2, i32 2, i32 4, i32 2, i32 1, i32 9, i32 0, i32 2, i32 2, i32 6, i32 7, i32 1, i32 0, i32 5, i32 5, i32 6, i32 2, i32 6, i32 3, i32 2, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 9, i32 3, i32 7, i32 0, i32 5, i32 4, i32 4, i32 2, i32 1, i32 7, i32 5, i32 0, i32 6, i32 9, i32 4, i32 1, i32 6, i32 5, i32 8, i32 9, i32 6, i32 0, i32 4, i32 0, i32 8, i32 0, i32 7, i32 1, i32 9, i32 8, i32 4, i32 0, i32 3, i32 8, i32 5, i32 0, i32 9, i32 6, i32 2, i32 4, i32 5, i32 5, i32 4, i32 4, i32 4, i32 3, i32 6, i32 2, i32 9, i32 8, i32 1, i32 2, i32 3, i32 0, i32 9, i32 8, i32 7, i32 8, i32 7, i32 9, i32 9, i32 2, i32 7, i32 2, i32 4, i32 4, i32 2, i32 8, i32 4, i32 9, i32 0, i32 9, i32 1, i32 8, i32 8, i32 8, i32 4, i32 5, i32 8, i32 0, i32 1, i32 5, i32 6, i32 1, i32 6, i32 6, i32 0, i32 9, i32 7, i32 9, i32 1, i32 9, i32 1, i32 3, i32 3, i32 8, i32 7, i32 5, i32 4, i32 9, i32 9, i32 2, i32 0, i32 0, i32 5, i32 2, i32 4, i32 0, i32 6, i32 3, i32 6, i32 8, i32 9, i32 9, i32 1, i32 2, i32 5, i32 6, i32 0, i32 7, i32 1, i32 7, i32 6, i32 0, i32 6, i32 0, i32 5, i32 8, i32 8, i32 6, i32 1, i32 1, i32 6, i32 4, i32 6, i32 7, i32 1, i32 0, i32 9, i32 4, i32 0, i32 5, i32 0, i32 7, i32 7, i32 5, i32 4, i32 1, i32 0, i32 0, i32 2, i32 2, i32 5, i32 6, i32 9, i32 8, i32 3, i32 1, i32 5, i32 5, i32 2, i32 0, i32 0, i32 0, i32 5, i32 5, i32 9, i32 3, i32 5, i32 7, i32 2, i32 9, i32 7, i32 2, i32 5, i32 7, i32 1, i32 6, i32 3, i32 6, i32 2, i32 6, i32 9, i32 5, i32 6, i32 1, i32 8, i32 8, i32 2, i32 6, i32 7, i32 0, i32 4, i32 2, i32 8, i32 2, i32 5, i32 2, i32 4, i32 8, i32 3, i32 6, i32 0, i32 0, i32 8, i32 2, i32 3, i32 2, i32 5, i32 7, i32 5, i32 3, i32 0, i32 4, i32 2, i32 0, i32 7, i32 5, i32 2, i32 9, i32 6, i32 3, i32 4, i32 5, i32 0]
@.str = [27 x i8] c"The largest product is: %d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca [1000 x i32]
store i32 0, i32* %1
store i32 0, i32* %3
store i32 0, i32* %4
%6 = bitcast [1000 x i32]* %5 to i8*
store i32 0, i32* %2
br label %7
7: ; preds = %45, %0
%8 = load i32, i32* %2
%9 = icmp slt i32 %8, 996
br i1 %9, label %10, label %48
10: ; preds = %7
%11 = load i32, i32* %2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [1000 x i32], [1000 x i32]* %5, i64 0, i64 %12
%14 = load i32, i32* %13
%15 = load i32, i32* %2
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1000 x i32], [1000 x i32]* %5, i64 0, i64 %17
%19 = load i32, i32* %18
%20 = mul nsw i32 %14, %19
%21 = load i32, i32* %2
%22 = add nsw i32 %21, 2
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [1000 x i32], [1000 x i32]* %5, i64 0, i64 %23
%25 = load i32, i32* %24
%26 = mul nsw i32 %20, %25
%27 = load i32, i32* %2
%28 = add nsw i32 %27, 3
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [1000 x i32], [1000 x i32]* %5, i64 0, i64 %29
%31 = load i32, i32* %30
%32 = mul nsw i32 %26, %31
%33 = load i32, i32* %2
%34 = add nsw i32 %33, 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [1000 x i32], [1000 x i32]* %5, i64 0, i64 %35
%37 = load i32, i32* %36
%38 = mul nsw i32 %32, %37
store i32 %38, i32* %3
%39 = load i32, i32* %3
%40 = load i32, i32* %4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %44
42: ; preds = %10
%43 = load i32, i32* %3
store i32 %43, i32* %4
br label %44
44: ; preds = %42, %10
br label %45
45: ; preds = %44
%46 = load i32, i32* %2
%47 = add nsw i32 %46, 1
store i32 %47, i32* %2
br label %7
48: ; preds = %7
%49 = load i32, i32* %4
%50 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %49)
ret i32 0
}

LLVM IR (-O2):
@__const.main.number = [1000 x i32] [i32 7, i32 3, i32 1, i32 6, i32 7, i32 1, i32 7, i32 6, i32 5, i32 3, i32 1, i32 3, i32 3, i32 0, i32 6, i32 2, i32 4, i32 9, i32 1, i32 9, i32 2, i32 2, i32 5, i32 1, i32 1, i32 9, i32 6, i32 7, i32 4, i32 4, i32 2, i32 6, i32 5, i32 7, i32 4, i32 7, i32 4, i32 2, i32 3, i32 5, i32 5, i32 3, i32 4, i32 9, i32 1, i32 9, i32 4, i32 9, i32 3, i32 4, i32 9, i32 6, i32 9, i32 8, i32 3, i32 5, i32 2, i32 0, i32 3, i32 1, i32 2, i32 7, i32 7, i32 4, i32 5, i32 0, i32 6, i32 3, i32 2, i32 6, i32 2, i32 3, i32 9, i32 5, i32 7, i32 8, i32 3, i32 1, i32 8, i32 0, i32 1, i32 6, i32 9, i32 8, i32 4, i32 8, i32 0, i32 1, i32 8, i32 6, i32 9, i32 4, i32 7, i32 8, i32 8, i32 5, i32 1, i32 8, i32 4, i32 3, i32 8, i32 5, i32 8, i32 6, i32 1, i32 5, i32 6, i32 0, i32 7, i32 8, i32 9, i32 1, i32 1, i32 2, i32 9, i32 4, i32 9, i32 4, i32 9, i32 5, i32 4, i32 5, i32 9, i32 5, i32 0, i32 1, i32 7, i32 3, i32 7, i32 9, i32 5, i32 8, i32 3, i32 3, i32 1, i32 9, i32 5, i32 2, i32 8, i32 5, i32 3, i32 2, i32 0, i32 8, i32 8, i32 0, i32 5, i32 5, i32 1, i32 1, i32 1, i32 2, i32 5, i32 4, i32 0, i32 6, i32 9, i32 8, i32 7, i32 4, i32 7, i32 1, i32 5, i32 8, i32 5, i32 2, i32 3, i32 8, i32 6, i32 3, i32 0, i32 5, i32 0, i32 7, i32 1, i32 5, i32 6, i32 9, i32 3, i32 2, i32 9, i32 0, i32 9, i32 6, i32 3, i32 2, i32 9, i32 5, i32 2, i32 2, i32 7, i32 4, i32 4, i32 3, i32 0, i32 4, i32 3, i32 5, i32 5, i32 7, i32 6, i32 6, i32 8, i32 9, i32 6, i32 6, i32 4, i32 8, i32 9, i32 5, i32 0, i32 4, i32 4, i32 5, i32 2, i32 4, i32 4, i32 5, i32 2, i32 3, i32 1, i32 6, i32 1, i32 7, i32 3, i32 1, i32 8, i32 5, i32 6, i32 4, i32 0, i32 3, i32 0, i32 9, i32 8, i32 7, i32 1, i32 1, i32 1, i32 2, i32 1, i32 7, i32 2, i32 2, i32 3, i32 8, i32 3, i32 1, i32 1, i32 3, i32 6, i32 2, i32 2, i32 2, i32 9, i32 8, i32 9, i32 3, i32 4, i32 2, i32 3, i32 3, i32 8, i32 0, i32 3, i32 0, i32 8, i32 1, i32 3, i32 5, i32 3, i32 3, i32 6, i32 2, i32 7, i32 6, i32 6, i32 1, i32 4, i32 2, i32 8, i32 2, i32 8, i32 0, i32 6, i32 4, i32 4, i32 4, i32 4, i32 8, i32 6, i32 6, i32 4, i32 5, i32 2, i32 3, i32 8, i32 7, i32 4, i32 9, i32 3, i32 0, i32 3, i32 5, i32 8, i32 9, i32 0, i32 7, i32 2, i32 9, i32 6, i32 2, i32 9, i32 0, i32 4, i32 9, i32 1, i32 5, i32 6, i32 0, i32 4, i32 4, i32 0, i32 7, i32 7, i32 2, i32 3, i32 9, i32 0, i32 7, i32 1, i32 3, i32 8, i32 1, i32 0, i32 5, i32 1, i32 5, i32 8, i32 5, i32 9, i32 3, i32 0, i32 7, i32 9, i32 6, i32 0, i32 8, i32 6, i32 6, i32 7, i32 0, i32 1, i32 7, i32 2, i32 4, i32 2, i32 7, i32 1, i32 2, i32 1, i32 8, i32 8, i32 3, i32 9, i32 9, i32 8, i32 7, i32 9, i32 7, i32 9, i32 0, i32 8, i32 7, i32 9, i32 2, i32 2, i32 7, i32 4, i32 9, i32 2, i32 1, i32 9, i32 0, i32 1, i32 6, i32 9, i32 9, i32 7, i32 2, i32 0, i32 8, i32 8, i32 8, i32 0, i32 9, i32 3, i32 7, i32 7, i32 6, i32 6, i32 5, i32 7, i32 2, i32 7, i32 3, i32 3, i32 3, i32 0, i32 0, i32 1, i32 0, i32 5, i32 3, i32 3, i32 6, i32 7, i32 8, i32 8, i32 1, i32 2, i32 2, i32 0, i32 2, i32 3, i32 5, i32 4, i32 2, i32 1, i32 8, i32 0, i32 9, i32 7, i32 5, i32 1, i32 2, i32 5, i32 4, i32 5, i32 4, i32 0, i32 5, i32 9, i32 4, i32 7, i32 5, i32 2, i32 2, i32 4, i32 3, i32 5, i32 2, i32 5, i32 8, i32 4, i32 9, i32 0, i32 7, i32 7, i32 1, i32 1, i32 6, i32 7, i32 0, i32 5, i32 5, i32 6, i32 0, i32 1, i32 3, i32 6, i32 0, i32 4, i32 8, i32 3, i32 9, i32 5, i32 8, i32 6, i32 4, i32 4, i32 6, i32 7, i32 0, i32 6, i32 3, i32 2, i32 4, i32 4, i32 1, i32 5, i32 7, i32 2, i32 2, i32 1, i32 5, i32 5, i32 3, i32 9, i32 7, i32 5, i32 3, i32 6, i32 9, i32 7, i32 8, i32 1, i32 7, i32 9, i32 7, i32 7, i32 8, i32 4, i32 6, i32 1, i32 7, i32 4, i32 0, i32 6, i32 4, i32 9, i32 5, i32 5, i32 1, i32 4, i32 9, i32 2, i32 9, i32 0, i32 8, i32 6, i32 2, i32 5, i32 6, i32 9, i32 3, i32 2, i32 1, i32 9, i32 7, i32 8, i32 4, i32 6, i32 8, i32 6, i32 2, i32 2, i32 4, i32 8, i32 2, i32 8, i32 3, i32 9, i32 7, i32 2, i32 2, i32 4, i32 1, i32 3, i32 7, i32 5, i32 6, i32 5, i32 7, i32 0, i32 5, i32 6, i32 0, i32 5, i32 7, i32 4, i32 9, i32 0, i32 2, i32 6, i32 1, i32 4, i32 0, i32 7, i32 9, i32 7, i32 2, i32 9, i32 6, i32 8, i32 6, i32 5, i32 2, i32 4, i32 1, i32 4, i32 5, i32 3, i32 5, i32 1, i32 0, i32 0, i32 4, i32 7, i32 4, i32 8, i32 2, i32 1, i32 6, i32 6, i32 3, i32 7, i32 0, i32 4, i32 8, i32 4, i32 4, i32 0, i32 3, i32 1, i32 9, i32 9, i32 8, i32 9, i32 0, i32 0, i32 0, i32 8, i32 8, i32 9, i32 5, i32 2, i32 4, i32 3, i32 4, i32 5, i32 0, i32 6, i32 5, i32 8, i32 5, i32 4, i32 1, i32 2, i32 2, i32 7, i32 5, i32 8, i32 8, i32 6, i32 6, i32 6, i32 8, i32 8, i32 1, i32 1, i32 6, i32 4, i32 2, i32 7, i32 1, i32 7, i32 1, i32 4, i32 7, i32 9, i32 9, i32 2, i32 4, i32 4, i32 4, i32 2, i32 9, i32 2, i32 8, i32 2, i32 3, i32 0, i32 8, i32 6, i32 3, i32 4, i32 6, i32 5, i32 6, i32 7, i32 4, i32 8, i32 1, i32 3, i32 9, i32 1, i32 9, i32 1, i32 2, i32 3, i32 1, i32 6, i32 2, i32 8, i32 2, i32 4, i32 5, i32 8, i32 6, i32 1, i32 7, i32 8, i32 6, i32 6, i32 4, i32 5, i32 8, i32 3, i32 5, i32 9, i32 1, i32 2, i32 4, i32 5, i32 6, i32 6, i32 5, i32 2, i32 9, i32 4, i32 7, i32 6, i32 5, i32 4, i32 5, i32 6, i32 8, i32 2, i32 8, i32 4, i32 8, i32 9, i32 1, i32 2, i32 8, i32 8, i32 3, i32 1, i32 4, i32 2, i32 6, i32 0, i32 7, i32 6, i32 9, i32 0, i32 0, i32 4, i32 2, i32 2, i32 4, i32 2, i32 1, i32 9, i32 0, i32 2, i32 2, i32 6, i32 7, i32 1, i32 0, i32 5, i32 5, i32 6, i32 2, i32 6, i32 3, i32 2, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 9, i32 3, i32 7, i32 0, i32 5, i32 4, i32 4, i32 2, i32 1, i32 7, i32 5, i32 0, i32 6, i32 9, i32 4, i32 1, i32 6, i32 5, i32 8, i32 9, i32 6, i32 0, i32 4, i32 0, i32 8, i32 0, i32 7, i32 1, i32 9, i32 8, i32 4, i32 0, i32 3, i32 8, i32 5, i32 0, i32 9, i32 6, i32 2, i32 4, i32 5, i32 5, i32 4, i32 4, i32 4, i32 3, i32 6, i32 2, i32 9, i32 8, i32 1, i32 2, i32 3, i32 0, i32 9, i32 8, i32 7, i32 8, i32 7, i32 9, i32 9, i32 2, i32 7, i32 2, i32 4, i32 4, i32 2, i32 8, i32 4, i32 9, i32 0, i32 9, i32 1, i32 8, i32 8, i32 8, i32 4, i32 5, i32 8, i32 0, i32 1, i32 5, i32 6, i32 1, i32 6, i32 6, i32 0, i32 9, i32 7, i32 9, i32 1, i32 9, i32 1, i32 3, i32 3, i32 8, i32 7, i32 5, i32 4, i32 9, i32 9, i32 2, i32 0, i32 0, i32 5, i32 2, i32 4, i32 0, i32 6, i32 3, i32 6, i32 8, i32 9, i32 9, i32 1, i32 2, i32 5, i32 6, i32 0, i32 7, i32 1, i32 7, i32 6, i32 0, i32 6, i32 0, i32 5, i32 8, i32 8, i32 6, i32 1, i32 1, i32 6, i32 4, i32 6, i32 7, i32 1, i32 0, i32 9, i32 4, i32 0, i32 5, i32 0, i32 7, i32 7, i32 5, i32 4, i32 1, i32 0, i32 0, i32 2, i32 2, i32 5, i32 6, i32 9, i32 8, i32 3, i32 1, i32 5, i32 5, i32 2, i32 0, i32 0, i32 0, i32 5, i32 5, i32 9, i32 3, i32 5, i32 7, i32 2, i32 9, i32 7, i32 2, i32 5, i32 7, i32 1, i32 6, i32 3, i32 6, i32 2, i32 6, i32 9, i32 5, i32 6, i32 1, i32 8, i32 8, i32 2, i32 6, i32 7, i32 0, i32 4, i32 2, i32 8, i32 2, i32 5, i32 2, i32 4, i32 8, i32 3, i32 6, i32 0, i32 0, i32 8, i32 2, i32 3, i32 2, i32 5, i32 7, i32 5, i32 3, i32 0, i32 4, i32 2, i32 0, i32 7, i32 5, i32 2, i32 9, i32 6, i32 3, i32 4, i32 5, i32 0]
@.str = [27 x i8] c"The largest product is: %d\00"
define i32 @main() {
br label %1
1: ; preds = %1, %0
%2 = phi i32 [ 6, %0 ], [ %23, %1 ]
%3 = phi i32 [ 1, %0 ], [ %13, %1 ]
%4 = phi i32 [ 3, %0 ], [ %2, %1 ]
%5 = phi i32 [ 7, %0 ], [ %3, %1 ]
%6 = phi i64 [ 0, %0 ], [ %17, %1 ]
%7 = phi i32 [ 0, %0 ], [ %26, %1 ]
%8 = mul nsw i32 %4, %5
%9 = mul nsw i32 %8, %3
%10 = mul nsw i32 %9, %2
%11 = add nuw nsw i64 %6, 4
%12 = getelementptr inbounds [1000 x i32], [1000 x i32]* @__const.main.number, i64 0, i64 %11
%13 = load i32, i32* %12
%14 = mul nsw i32 %10, %13
%15 = icmp sgt i32 %14, %7
%16 = select i1 %15, i32 %14, i32 %7
%17 = add nuw nsw i64 %6, 2
%18 = mul nsw i32 %3, %4
%19 = mul nsw i32 %18, %2
%20 = mul nsw i32 %19, %13
%21 = add nuw i64 %6, 5
%22 = getelementptr inbounds [1000 x i32], [1000 x i32]* @__const.main.number, i64 0, i64 %21
%23 = load i32, i32* %22
%24 = mul nsw i32 %20, %23
%25 = icmp sgt i32 %24, %16
%26 = select i1 %25, i32 %24, i32 %16
%27 = icmp eq i64 %17, 996
br i1 %27, label %28, label %1
28: ; preds = %1
%29 = tail call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %26)
ret i32 0
}