#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 */
unsigned int UINT_MAX;
int /*<<< orphan*/ printf(char *, unsigned int);
int main(void) {
  unsigned int x;
  for (x = 20; x < UINT_MAX; x++) {
    if (x % 1 == 0 && x % 2 == 0 && x % 3 == 0 && x % 4 == 0 && x % 5 == 0 &&
        x % 6 == 0 && x % 7 == 0 && x % 8 == 0 && x % 9 == 0 && x % 10 == 0 &&
        x % 11 == 0 && x % 12 == 0 && x % 13 == 0 && x % 14 == 0 &&
        x % 15 == 0 && x % 16 == 0 && x % 17 == 0 && x % 18 == 0 &&
        x % 19 == 0 && x % 20 == 0) {
      break;
    }
  }
  printf("%d\n", x);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x14,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    0x2eb8(%rip),%rcx
cmp    (%rcx),%eax
jae    12d6 <main+0x1c6>
mov    -0x8(%rbp),%eax
and    $0x0,%eax
cmp    $0x0,%eax
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x3,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
and    $0x3,%eax
cmp    $0x0,%eax
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x5,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x6,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x7,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
and    $0x7,%eax
cmp    $0x0,%eax
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x9,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0xb,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0xc,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0xd,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0xe,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0xf,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
and    $0xf,%eax
cmp    $0x0,%eax
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x11,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x12,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x13,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
mov    -0x8(%rbp),%eax
mov    $0x14,%ecx
xor    %edx,%edx
div    %ecx
cmp    $0x0,%edx
jne    12c3 <main+0x1b3>
jmp    12d6 <main+0x1c6>
jmp    12c8 <main+0x1b8>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1126 <main+0x16>
mov    -0x8(%rbp),%esi
lea    0xd20(%rip),%rdi
call   1030 <printf@plt>
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
mov    0x2ec6(%rip),%rax
mov    (%rax),%r13d
mov    $0x14,%esi
cmp    $0x15,%r13d
jb     1381 <main+0x271>
mov    $0x14,%esi
mov    $0xaaaaaaab,%r8d
mov    $0xcccccccd,%r15d
mov    $0xba2e8ba3,%r12d
mov    $0x92492493,%r14d
mov    $0x88888889,%r9d
mov    $0xf0f0f0f1,%r10d
mov    $0xaf286bcb,%r11d
jmp    117c <main+0x6c>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
cmp    %esi,%r13d
je     137e <main+0x26e>
mov    %esi,%ecx
mov    %rcx,%rbx
imul   %r8,%rbx
mov    %rbx,%rdx
shr    $0x21,%rdx
lea    (%rdx,%rdx,2),%edx
mov    %esi,%edi
and    $0x1,%edi
mov    %esi,%ebp
sub    %edx,%ebp
or     %edi,%ebp
jne    1170 <main+0x60>
mov    %esi,%edx
and    $0x3,%edx
jne    1170 <main+0x60>
mov    %rcx,%rdi
imul   %r15,%rdi
mov    %rdi,%rdx
shr    $0x22,%rdx
lea    (%rdx,%rdx,4),%edx
neg    %edx
add    %esi,%edx
add    $0x14,%edx
cmp    $0x14,%edx
jne    1170 <main+0x60>
mov    %rbx,%rdx
shr    $0x22,%rdx
add    %edx,%edx
lea    (%rdx,%rdx,2),%edx
neg    %edx
add    %esi,%edx
add    $0x14,%edx
cmp    $0x14,%edx
jne    1170 <main+0x60>
imul   $0x24924925,%rcx,%rdx
shr    $0x20,%rdx
mov    %esi,%ebp
sub    %edx,%ebp
shr    %ebp
add    %edx,%ebp
shr    $0x2,%ebp
lea    0x0(,%rbp,8),%edx
sub    %edx,%ebp
lea    (%rsi,%rbp,1),%edx
add    $0x14,%edx
cmp    $0x14,%edx
jne    1170 <main+0x60>
mov    %esi,%edx
and    $0x7,%edx
jne    1170 <main+0x60>
imul   $0x38e38e39,%rcx,%rbp
mov    %rbp,%rdx
shr    $0x21,%rdx
lea    (%rdx,%rdx,8),%edx
neg    %edx
add    %esi,%edx
add    $0x14,%edx
cmp    $0x14,%edx
jne    1170 <main+0x60>
mov    %rdi,%rdx
shr    $0x23,%rdx
add    %edx,%edx
lea    (%rdx,%rdx,4),%edx
neg    %edx
add    %esi,%edx
add    $0x14,%edx
cmp    $0x14,%edx
jne    1170 <main+0x60>
mov    %rcx,%rdx
imul   %r12,%rdx
shr    $0x23,%rdx
lea    (%rdx,%rdx,4),%eax
lea    (%rdx,%rax,2),%eax
neg    %eax
add    %esi,%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
shr    $0x23,%rbx
shl    $0x2,%ebx
lea    (%rbx,%rbx,2),%eax
neg    %eax
add    %esi,%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
imul   $0x4ec4ec4f,%rcx,%rax
shr    $0x22,%rax
lea    (%rax,%rax,2),%edx
lea    (%rax,%rdx,4),%eax
neg    %eax
add    %esi,%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
mov    %esi,%eax
shr    %eax
imul   %r14,%rax
shr    $0x22,%rax
mov    %eax,%edx
shl    $0x4,%edx
mov    %eax,%ebx
sub    %edx,%ebx
add    %eax,%ebx
lea    (%rsi,%rbx,1),%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
mov    %rcx,%rax
imul   %r9,%rax
shr    $0x23,%rax
lea    (%rax,%rax,4),%eax
lea    (%rax,%rax,2),%eax
neg    %eax
add    %esi,%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
mov    %esi,%eax
and    $0xf,%eax
jne    1170 <main+0x60>
mov    %rcx,%rax
imul   %r10,%rax
shr    $0x24,%rax
mov    %eax,%edx
shl    $0x4,%edx
add    %eax,%edx
neg    %edx
lea    (%rsi,%rdx,1),%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
shr    $0x22,%rbp
add    %ebp,%ebp
lea    0x0(%rbp,%rbp,8),%eax
neg    %eax
add    %esi,%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
imul   %r11,%rcx
shr    $0x20,%rcx
mov    %esi,%eax
sub    %ecx,%eax
shr    %eax
add    %ecx,%eax
shr    $0x4,%eax
lea    (%rax,%rax,8),%ecx
lea    (%rax,%rcx,2),%eax
neg    %eax
add    %esi,%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
shr    $0x24,%rdi
shl    $0x2,%edi
lea    (%rdi,%rdi,4),%eax
neg    %eax
add    %esi,%eax
add    $0x14,%eax
cmp    $0x14,%eax
jne    1170 <main+0x60>
jmp    1381 <main+0x271>
mov    %r13d,%esi
lea    0xc78(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@UINT_MAX = global i32 0
@.str = [4 x i8] c"%d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 20, i32* %2
br label %3
3: ; preds = %89, %0
%4 = load i32, i32* %2
%5 = load i32, i32* @UINT_MAX
%6 = icmp ult i32 %4, %5
br i1 %6, label %7, label %92
7: ; preds = %3
%8 = load i32, i32* %2
%9 = urem i32 %8, 1
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %88
11: ; preds = %7
%12 = load i32, i32* %2
%13 = urem i32 %12, 2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %88
15: ; preds = %11
%16 = load i32, i32* %2
%17 = urem i32 %16, 3
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %88
19: ; preds = %15
%20 = load i32, i32* %2
%21 = urem i32 %20, 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %88
23: ; preds = %19
%24 = load i32, i32* %2
%25 = urem i32 %24, 5
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %88
27: ; preds = %23
%28 = load i32, i32* %2
%29 = urem i32 %28, 6
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %88
31: ; preds = %27
%32 = load i32, i32* %2
%33 = urem i32 %32, 7
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %88
35: ; preds = %31
%36 = load i32, i32* %2
%37 = urem i32 %36, 8
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %88
39: ; preds = %35
%40 = load i32, i32* %2
%41 = urem i32 %40, 9
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %88
43: ; preds = %39
%44 = load i32, i32* %2
%45 = urem i32 %44, 10
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %88
47: ; preds = %43
%48 = load i32, i32* %2
%49 = urem i32 %48, 11
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %88
51: ; preds = %47
%52 = load i32, i32* %2
%53 = urem i32 %52, 12
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %88
55: ; preds = %51
%56 = load i32, i32* %2
%57 = urem i32 %56, 13
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %88
59: ; preds = %55
%60 = load i32, i32* %2
%61 = urem i32 %60, 14
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %88
63: ; preds = %59
%64 = load i32, i32* %2
%65 = urem i32 %64, 15
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %88
67: ; preds = %63
%68 = load i32, i32* %2
%69 = urem i32 %68, 16
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %88
71: ; preds = %67
%72 = load i32, i32* %2
%73 = urem i32 %72, 17
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %88
75: ; preds = %71
%76 = load i32, i32* %2
%77 = urem i32 %76, 18
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %88
79: ; preds = %75
%80 = load i32, i32* %2
%81 = urem i32 %80, 19
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %88
83: ; preds = %79
%84 = load i32, i32* %2
%85 = urem i32 %84, 20
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %83
br label %92
88: ; preds = %83, %79, %75, %71, %67, %63, %59, %55, %51, %47, %43, %39, %35, %31, %27, %23, %19, %15, %11, %7
br label %89
89: ; preds = %88
%90 = load i32, i32* %2
%91 = add i32 %90, 1
store i32 %91, i32* %2
br label %3
92: ; preds = %87, %3
%93 = load i32, i32* %2
%94 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %93)
ret i32 0
}

LLVM IR (-O2):
@UINT_MAX = global i32 0
@.str = [4 x i8] c"%d\0A\00"
define i32 @main() {
%1 = load i32, i32* @UINT_MAX
%2 = icmp ugt i32 %1, 20
br i1 %2, label %3, label %63
3: ; preds = %0, %60
%4 = phi i32 [ %61, %60 ], [ 20, %0 ]
%5 = and i32 %4, 1
%6 = urem i32 %4, 3
%7 = or i32 %5, %6
%8 = icmp eq i32 %7, 0
%9 = and i32 %4, 3
%10 = icmp eq i32 %9, 0
%11 = select i1 %8, i1 %10, i1 false
%12 = urem i32 %4, 5
%13 = icmp eq i32 %12, 0
%14 = select i1 %11, i1 %13, i1 false
%15 = urem i32 %4, 6
%16 = icmp eq i32 %15, 0
%17 = select i1 %14, i1 %16, i1 false
%18 = urem i32 %4, 7
%19 = icmp eq i32 %18, 0
%20 = select i1 %17, i1 %19, i1 false
%21 = and i32 %4, 7
%22 = icmp eq i32 %21, 0
%23 = select i1 %20, i1 %22, i1 false
%24 = urem i32 %4, 9
%25 = icmp eq i32 %24, 0
%26 = select i1 %23, i1 %25, i1 false
%27 = urem i32 %4, 10
%28 = icmp eq i32 %27, 0
%29 = select i1 %26, i1 %28, i1 false
%30 = urem i32 %4, 11
%31 = icmp eq i32 %30, 0
%32 = select i1 %29, i1 %31, i1 false
%33 = urem i32 %4, 12
%34 = icmp eq i32 %33, 0
%35 = select i1 %32, i1 %34, i1 false
%36 = urem i32 %4, 13
%37 = icmp eq i32 %36, 0
%38 = select i1 %35, i1 %37, i1 false
%39 = urem i32 %4, 14
%40 = icmp eq i32 %39, 0
%41 = select i1 %38, i1 %40, i1 false
%42 = urem i32 %4, 15
%43 = icmp eq i32 %42, 0
%44 = select i1 %41, i1 %43, i1 false
%45 = and i32 %4, 15
%46 = icmp eq i32 %45, 0
%47 = select i1 %44, i1 %46, i1 false
%48 = urem i32 %4, 17
%49 = icmp eq i32 %48, 0
%50 = select i1 %47, i1 %49, i1 false
%51 = urem i32 %4, 18
%52 = icmp eq i32 %51, 0
%53 = select i1 %50, i1 %52, i1 false
%54 = urem i32 %4, 19
%55 = icmp eq i32 %54, 0
%56 = select i1 %53, i1 %55, i1 false
%57 = urem i32 %4, 20
%58 = icmp eq i32 %57, 0
%59 = select i1 %56, i1 %58, i1 false
br i1 %59, label %63, label %60
60: ; preds = %3
%61 = add nuw i32 %4, 1
%62 = icmp eq i32 %61, %1
br i1 %62, label %63, label %3
63: ; preds = %60, %3, %0
%64 = phi i32 [ 20, %0 ], [ %4, %3 ], [ %1, %60 ]
%65 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %64)
ret i32 0
}