#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 rand();
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  srand(time(NULL));
  int _a1, _b1;
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "+"
         " %2d = %d\n",
         _a1, _b1, _a1 + _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "+"
         " %2d = %d\n",
         _a1, _b1, _a1 + _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "+"
         " %2d = %d\n",
         _a1, _b1, _a1 + _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "+"
         " %2d = %d\n",
         _a1, _b1, _a1 + _b1);
  printf("\n");
  ;
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "-"
         " %2d = %d\n",
         _a1, _b1, _a1 - _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "-"
         " %2d = %d\n",
         _a1, _b1, _a1 - _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "-"
         " %2d = %d\n",
         _a1, _b1, _a1 - _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "-"
         " %2d = %d\n",
         _a1, _b1, _a1 - _b1);
  printf("\n");
  ;
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "*"
         " %2d = %d\n",
         _a1, _b1, _a1 * _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "*"
         " %2d = %d\n",
         _a1, _b1, _a1 * _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "*"
         " %2d = %d\n",
         _a1, _b1, _a1 * _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d "
         "*"
         " %2d = %d\n",
         _a1, _b1, _a1 * _b1);
  printf("\n");
  ;
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d / %2d = %d r %d\n", _a1, _b1, _a1 / _b1, _a1 % _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d / %2d = %d r %d\n", _a1, _b1, _a1 / _b1, _a1 % _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d / %2d = %d r %d\n", _a1, _b1, _a1 / _b1, _a1 % _b1);
  _a1 = rand() % 20 + 1;
  _b1 = rand() % 20 + 1;
  printf("%2d / %2d = %d r %d\n", _a1, _b1, _a1 / _b1, _a1 % _b1);
  printf("\n");
  ;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1050 <time@plt>
mov    %eax,%edi
call   1040 <srand@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
add    -0xc(%rbp),%ecx
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
add    -0xc(%rbp),%ecx
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
add    -0xc(%rbp),%ecx
lea    0xddc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
add    -0xc(%rbp),%ecx
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
sub    -0xc(%rbp),%ecx
lea    0xd56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
sub    -0xc(%rbp),%ecx
lea    0xd12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
sub    -0xc(%rbp),%ecx
lea    0xcce(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
sub    -0xc(%rbp),%ecx
lea    0xc8a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
lea    0xc47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
lea    0xc02(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
lea    0xbbd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
lea    0xb78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %edx,%r8d
mov    -0x1c(%rbp),%edx
lea    0xb23(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %edx,%r8d
mov    -0x18(%rbp),%edx
lea    0xacc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %edx,%r8d
mov    -0x14(%rbp),%edx
lea    0xa75(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %edx,%r8d
mov    -0x10(%rbp),%edx
lea    0xa1e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xa0e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
lea    (%rdx,%rbp,1),%ecx
lea    0xe3e(%rip),%rbx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
lea    (%rdx,%rbp,1),%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
lea    (%rdx,%rbp,1),%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
lea    (%rdx,%rbp,1),%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %ebp,%ecx
sub    %edx,%ecx
lea    0xca8(%rip),%rbx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %ebp,%ecx
sub    %edx,%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %ebp,%ecx
sub    %edx,%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %ebp,%ecx
sub    %edx,%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %edx,%ecx
imul   %ebp,%ecx
lea    0xb0e(%rip),%rbx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %edx,%ecx
imul   %ebp,%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %edx,%ecx
imul   %ebp,%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
mov    %edx,%ecx
imul   %ebp,%ecx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
movsbl %bpl,%eax
idiv   %dl
movsbl %ah,%ebx
movsbl %al,%ecx
lea    0x96a(%rip),%r14
mov    %r14,%rdi
mov    %ebp,%esi
mov    %ebx,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
movsbl %bpl,%eax
idiv   %dl
movsbl %ah,%ebx
movsbl %al,%ecx
mov    %r14,%rdi
mov    %ebp,%esi
mov    %ebx,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
movsbl %bpl,%eax
idiv   %dl
movsbl %ah,%ebx
movsbl %al,%ecx
mov    %r14,%rdi
mov    %ebp,%esi
mov    %ebx,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
xor    %eax,%eax
call   1070 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0x1,%edx
movsbl %bpl,%eax
idiv   %dl
movsbl %ah,%ebx
movsbl %al,%ecx
mov    %r14,%rdi
mov    %ebp,%esi
mov    %ebx,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [16 x i8] c"%2d + %2d = %d\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [16 x i8] c"%2d - %2d = %d\0A\00"
@.str.3 = [16 x i8] c"%2d * %2d = %d\0A\00"
@.str.4 = [21 x i8] c"%2d / %2d = %d r %d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
%4 = call i32 @time(i32* null)
%5 = call i32 @srand(i32 %4)
%6 = call i32 (...) @rand()
%7 = srem i32 %6, 20
%8 = add nsw i32 %7, 1
store i32 %8, i32* %2
%9 = call i32 (...) @rand()
%10 = srem i32 %9, 20
%11 = add nsw i32 %10, 1
store i32 %11, i32* %3
%12 = load i32, i32* %2
%13 = load i32, i32* %3
%14 = load i32, i32* %2
%15 = load i32, i32* %3
%16 = add nsw i32 %14, %15
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %12, i32 %13, i32 %16)
%18 = call i32 (...) @rand()
%19 = srem i32 %18, 20
%20 = add nsw i32 %19, 1
store i32 %20, i32* %2
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 20
%23 = add nsw i32 %22, 1
store i32 %23, i32* %3
%24 = load i32, i32* %2
%25 = load i32, i32* %3
%26 = load i32, i32* %2
%27 = load i32, i32* %3
%28 = add nsw i32 %26, %27
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %24, i32 %25, i32 %28)
%30 = call i32 (...) @rand()
%31 = srem i32 %30, 20
%32 = add nsw i32 %31, 1
store i32 %32, i32* %2
%33 = call i32 (...) @rand()
%34 = srem i32 %33, 20
%35 = add nsw i32 %34, 1
store i32 %35, i32* %3
%36 = load i32, i32* %2
%37 = load i32, i32* %3
%38 = load i32, i32* %2
%39 = load i32, i32* %3
%40 = add nsw i32 %38, %39
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %36, i32 %37, i32 %40)
%42 = call i32 (...) @rand()
%43 = srem i32 %42, 20
%44 = add nsw i32 %43, 1
store i32 %44, i32* %2
%45 = call i32 (...) @rand()
%46 = srem i32 %45, 20
%47 = add nsw i32 %46, 1
store i32 %47, i32* %3
%48 = load i32, i32* %2
%49 = load i32, i32* %3
%50 = load i32, i32* %2
%51 = load i32, i32* %3
%52 = add nsw i32 %50, %51
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %48, i32 %49, i32 %52)
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%55 = call i32 (...) @rand()
%56 = srem i32 %55, 20
%57 = add nsw i32 %56, 1
store i32 %57, i32* %2
%58 = call i32 (...) @rand()
%59 = srem i32 %58, 20
%60 = add nsw i32 %59, 1
store i32 %60, i32* %3
%61 = load i32, i32* %2
%62 = load i32, i32* %3
%63 = load i32, i32* %2
%64 = load i32, i32* %3
%65 = sub nsw i32 %63, %64
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %61, i32 %62, i32 %65)
%67 = call i32 (...) @rand()
%68 = srem i32 %67, 20
%69 = add nsw i32 %68, 1
store i32 %69, i32* %2
%70 = call i32 (...) @rand()
%71 = srem i32 %70, 20
%72 = add nsw i32 %71, 1
store i32 %72, i32* %3
%73 = load i32, i32* %2
%74 = load i32, i32* %3
%75 = load i32, i32* %2
%76 = load i32, i32* %3
%77 = sub nsw i32 %75, %76
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %73, i32 %74, i32 %77)
%79 = call i32 (...) @rand()
%80 = srem i32 %79, 20
%81 = add nsw i32 %80, 1
store i32 %81, i32* %2
%82 = call i32 (...) @rand()
%83 = srem i32 %82, 20
%84 = add nsw i32 %83, 1
store i32 %84, i32* %3
%85 = load i32, i32* %2
%86 = load i32, i32* %3
%87 = load i32, i32* %2
%88 = load i32, i32* %3
%89 = sub nsw i32 %87, %88
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %85, i32 %86, i32 %89)
%91 = call i32 (...) @rand()
%92 = srem i32 %91, 20
%93 = add nsw i32 %92, 1
store i32 %93, i32* %2
%94 = call i32 (...) @rand()
%95 = srem i32 %94, 20
%96 = add nsw i32 %95, 1
store i32 %96, i32* %3
%97 = load i32, i32* %2
%98 = load i32, i32* %3
%99 = load i32, i32* %2
%100 = load i32, i32* %3
%101 = sub nsw i32 %99, %100
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %97, i32 %98, i32 %101)
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%104 = call i32 (...) @rand()
%105 = srem i32 %104, 20
%106 = add nsw i32 %105, 1
store i32 %106, i32* %2
%107 = call i32 (...) @rand()
%108 = srem i32 %107, 20
%109 = add nsw i32 %108, 1
store i32 %109, i32* %3
%110 = load i32, i32* %2
%111 = load i32, i32* %3
%112 = load i32, i32* %2
%113 = load i32, i32* %3
%114 = mul nsw i32 %112, %113
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %110, i32 %111, i32 %114)
%116 = call i32 (...) @rand()
%117 = srem i32 %116, 20
%118 = add nsw i32 %117, 1
store i32 %118, i32* %2
%119 = call i32 (...) @rand()
%120 = srem i32 %119, 20
%121 = add nsw i32 %120, 1
store i32 %121, i32* %3
%122 = load i32, i32* %2
%123 = load i32, i32* %3
%124 = load i32, i32* %2
%125 = load i32, i32* %3
%126 = mul nsw i32 %124, %125
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %122, i32 %123, i32 %126)
%128 = call i32 (...) @rand()
%129 = srem i32 %128, 20
%130 = add nsw i32 %129, 1
store i32 %130, i32* %2
%131 = call i32 (...) @rand()
%132 = srem i32 %131, 20
%133 = add nsw i32 %132, 1
store i32 %133, i32* %3
%134 = load i32, i32* %2
%135 = load i32, i32* %3
%136 = load i32, i32* %2
%137 = load i32, i32* %3
%138 = mul nsw i32 %136, %137
%139 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %134, i32 %135, i32 %138)
%140 = call i32 (...) @rand()
%141 = srem i32 %140, 20
%142 = add nsw i32 %141, 1
store i32 %142, i32* %2
%143 = call i32 (...) @rand()
%144 = srem i32 %143, 20
%145 = add nsw i32 %144, 1
store i32 %145, i32* %3
%146 = load i32, i32* %2
%147 = load i32, i32* %3
%148 = load i32, i32* %2
%149 = load i32, i32* %3
%150 = mul nsw i32 %148, %149
%151 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %146, i32 %147, i32 %150)
%152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%153 = call i32 (...) @rand()
%154 = srem i32 %153, 20
%155 = add nsw i32 %154, 1
store i32 %155, i32* %2
%156 = call i32 (...) @rand()
%157 = srem i32 %156, 20
%158 = add nsw i32 %157, 1
store i32 %158, i32* %3
%159 = load i32, i32* %2
%160 = load i32, i32* %3
%161 = load i32, i32* %2
%162 = load i32, i32* %3
%163 = sdiv i32 %161, %162
%164 = load i32, i32* %2
%165 = load i32, i32* %3
%166 = srem i32 %164, %165
%167 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %159, i32 %160, i32 %163, i32 %166)
%168 = call i32 (...) @rand()
%169 = srem i32 %168, 20
%170 = add nsw i32 %169, 1
store i32 %170, i32* %2
%171 = call i32 (...) @rand()
%172 = srem i32 %171, 20
%173 = add nsw i32 %172, 1
store i32 %173, i32* %3
%174 = load i32, i32* %2
%175 = load i32, i32* %3
%176 = load i32, i32* %2
%177 = load i32, i32* %3
%178 = sdiv i32 %176, %177
%179 = load i32, i32* %2
%180 = load i32, i32* %3
%181 = srem i32 %179, %180
%182 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %174, i32 %175, i32 %178, i32 %181)
%183 = call i32 (...) @rand()
%184 = srem i32 %183, 20
%185 = add nsw i32 %184, 1
store i32 %185, i32* %2
%186 = call i32 (...) @rand()
%187 = srem i32 %186, 20
%188 = add nsw i32 %187, 1
store i32 %188, i32* %3
%189 = load i32, i32* %2
%190 = load i32, i32* %3
%191 = load i32, i32* %2
%192 = load i32, i32* %3
%193 = sdiv i32 %191, %192
%194 = load i32, i32* %2
%195 = load i32, i32* %3
%196 = srem i32 %194, %195
%197 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %189, i32 %190, i32 %193, i32 %196)
%198 = call i32 (...) @rand()
%199 = srem i32 %198, 20
%200 = add nsw i32 %199, 1
store i32 %200, i32* %2
%201 = call i32 (...) @rand()
%202 = srem i32 %201, 20
%203 = add nsw i32 %202, 1
store i32 %203, i32* %3
%204 = load i32, i32* %2
%205 = load i32, i32* %3
%206 = load i32, i32* %2
%207 = load i32, i32* %3
%208 = sdiv i32 %206, %207
%209 = load i32, i32* %2
%210 = load i32, i32* %3
%211 = srem i32 %209, %210
%212 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %204, i32 %205, i32 %208, i32 %211)
%213 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [16 x i8] c"%2d + %2d = %d\0A\00"
@.str.2 = [16 x i8] c"%2d - %2d = %d\0A\00"
@.str.3 = [16 x i8] c"%2d * %2d = %d\0A\00"
@.str.4 = [21 x i8] c"%2d / %2d = %d r %d\0A\00"
define i32 @main() {
%1 = tail call i32 @time(i32* null)
%2 = tail call i32 @srand(i32 %1)
%3 = tail call i32 (...) @rand()
%4 = srem i32 %3, 20
%5 = add nsw i32 %4, 1
%6 = tail call i32 (...) @rand()
%7 = srem i32 %6, 20
%8 = add nsw i32 %7, 1
%9 = add nsw i32 %8, %5
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %5, i32 %8, i32 %9)
%11 = tail call i32 (...) @rand()
%12 = srem i32 %11, 20
%13 = add nsw i32 %12, 1
%14 = tail call i32 (...) @rand()
%15 = srem i32 %14, 20
%16 = add nsw i32 %15, 1
%17 = add nsw i32 %16, %13
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %13, i32 %16, i32 %17)
%19 = tail call i32 (...) @rand()
%20 = srem i32 %19, 20
%21 = add nsw i32 %20, 1
%22 = tail call i32 (...) @rand()
%23 = srem i32 %22, 20
%24 = add nsw i32 %23, 1
%25 = add nsw i32 %24, %21
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %21, i32 %24, i32 %25)
%27 = tail call i32 (...) @rand()
%28 = srem i32 %27, 20
%29 = add nsw i32 %28, 1
%30 = tail call i32 (...) @rand()
%31 = srem i32 %30, 20
%32 = add nsw i32 %31, 1
%33 = add nsw i32 %32, %29
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 %29, i32 %32, i32 %33)
%35 = tail call i32 @putchar(i32 10)
%36 = tail call i32 (...) @rand()
%37 = srem i32 %36, 20
%38 = add nsw i32 %37, 1
%39 = tail call i32 (...) @rand()
%40 = srem i32 %39, 20
%41 = add nsw i32 %40, 1
%42 = sub nsw i32 %38, %41
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %38, i32 %41, i32 %42)
%44 = tail call i32 (...) @rand()
%45 = srem i32 %44, 20
%46 = add nsw i32 %45, 1
%47 = tail call i32 (...) @rand()
%48 = srem i32 %47, 20
%49 = add nsw i32 %48, 1
%50 = sub nsw i32 %46, %49
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %46, i32 %49, i32 %50)
%52 = tail call i32 (...) @rand()
%53 = srem i32 %52, 20
%54 = add nsw i32 %53, 1
%55 = tail call i32 (...) @rand()
%56 = srem i32 %55, 20
%57 = add nsw i32 %56, 1
%58 = sub nsw i32 %54, %57
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %54, i32 %57, i32 %58)
%60 = tail call i32 (...) @rand()
%61 = srem i32 %60, 20
%62 = add nsw i32 %61, 1
%63 = tail call i32 (...) @rand()
%64 = srem i32 %63, 20
%65 = add nsw i32 %64, 1
%66 = sub nsw i32 %62, %65
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i32 %62, i32 %65, i32 %66)
%68 = tail call i32 @putchar(i32 10)
%69 = tail call i32 (...) @rand()
%70 = srem i32 %69, 20
%71 = add nsw i32 %70, 1
%72 = tail call i32 (...) @rand()
%73 = srem i32 %72, 20
%74 = add nsw i32 %73, 1
%75 = mul nsw i32 %74, %71
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %71, i32 %74, i32 %75)
%77 = tail call i32 (...) @rand()
%78 = srem i32 %77, 20
%79 = add nsw i32 %78, 1
%80 = tail call i32 (...) @rand()
%81 = srem i32 %80, 20
%82 = add nsw i32 %81, 1
%83 = mul nsw i32 %82, %79
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %79, i32 %82, i32 %83)
%85 = tail call i32 (...) @rand()
%86 = srem i32 %85, 20
%87 = add nsw i32 %86, 1
%88 = tail call i32 (...) @rand()
%89 = srem i32 %88, 20
%90 = add nsw i32 %89, 1
%91 = mul nsw i32 %90, %87
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %87, i32 %90, i32 %91)
%93 = tail call i32 (...) @rand()
%94 = srem i32 %93, 20
%95 = add nsw i32 %94, 1
%96 = tail call i32 (...) @rand()
%97 = srem i32 %96, 20
%98 = add nsw i32 %97, 1
%99 = mul nsw i32 %98, %95
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %95, i32 %98, i32 %99)
%101 = tail call i32 @putchar(i32 10)
%102 = tail call i32 (...) @rand()
%103 = srem i32 %102, 20
%104 = add nsw i32 %103, 1
%105 = tail call i32 (...) @rand()
%106 = srem i32 %105, 20
%107 = add nsw i32 %106, 1
%108 = trunc i32 %104 to i8
%109 = trunc i32 %107 to i8
%110 = sdiv i8 %108, %109
%111 = sext i8 %110 to i32
%112 = srem i8 %108, %109
%113 = sext i8 %112 to i32
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %104, i32 %107, i32 %111, i32 %113)
%115 = tail call i32 (...) @rand()
%116 = srem i32 %115, 20
%117 = add nsw i32 %116, 1
%118 = tail call i32 (...) @rand()
%119 = srem i32 %118, 20
%120 = add nsw i32 %119, 1
%121 = trunc i32 %117 to i8
%122 = trunc i32 %120 to i8
%123 = sdiv i8 %121, %122
%124 = sext i8 %123 to i32
%125 = srem i8 %121, %122
%126 = sext i8 %125 to i32
%127 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %117, i32 %120, i32 %124, i32 %126)
%128 = tail call i32 (...) @rand()
%129 = srem i32 %128, 20
%130 = add nsw i32 %129, 1
%131 = tail call i32 (...) @rand()
%132 = srem i32 %131, 20
%133 = add nsw i32 %132, 1
%134 = trunc i32 %130 to i8
%135 = trunc i32 %133 to i8
%136 = sdiv i8 %134, %135
%137 = sext i8 %136 to i32
%138 = srem i8 %134, %135
%139 = sext i8 %138 to i32
%140 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %130, i32 %133, i32 %137, i32 %139)
%141 = tail call i32 (...) @rand()
%142 = srem i32 %141, 20
%143 = add nsw i32 %142, 1
%144 = tail call i32 (...) @rand()
%145 = srem i32 %144, 20
%146 = add nsw i32 %145, 1
%147 = trunc i32 %143 to i8
%148 = trunc i32 %146 to i8
%149 = sdiv i8 %147, %148
%150 = sext i8 %149 to i32
%151 = srem i8 %147, %148
%152 = sext i8 %151 to i32
%153 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 %143, i32 %146, i32 %150, i32 %152)
%154 = tail call i32 @putchar(i32 10)
ret i32 0
}