#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*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ stdin;
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int main() {
  int Dora_Explorer, one_zero = 0, result = 0, len, temp1 = 0, temp2 = 0;
  int numbers_mason[11] = {0};
  int counter = 0, counter2 = 0;
  char input[11] = {'\0'};
  char temp_c[30] = {'\0'};
  char roast[512][30] = {{'\0'}};
  fgets(input, 11, stdin);
  scanf("%d", &Dora_Explorer);
  len = strlen(input);
  while (counter < len - 1) {
    numbers_mason[counter] = input[counter] - '0';
    counter++;
  }
  result = numbers_mason[0];
  while (!(one_zero >> (len - 2)) & 1) {
    for (counter = 0; counter < len - 2; counter++) {
      if ((one_zero >> counter) & 1) {
        result -= numbers_mason[counter + 1];
      } else {
        result += numbers_mason[counter + 1];
      }
    }
    if (result == Dora_Explorer) {
      temp1++;
      counter = 0;
      while (counter < len - 1) {
        roast[temp1][counter * 2] = input[counter];
        if (counter < len - 2) {
          if ((one_zero >> counter) & 1) {
            temp2 = (counter * 2) + 1;
            roast[temp1][temp2] = '-';
          } else {
            temp2 = (counter * 2) + 1;
            roast[temp1][temp2] = '+';
          }
        }
        counter++;
      }
    }
    result = numbers_mason[0];
    one_zero++;
  }
  counter = 1;
  while (counter < temp1) {
    counter2 = 0;
    while (counter2 < temp1 - counter2) {
      if (strcmp(roast[counter], roast[counter + 1]) < 0) {
        strcpy(temp_c, roast[counter]);
        strcpy(roast[counter], roast[counter + 1]);
        strcpy(roast[counter + 1], temp_c);
      }
      counter2++;
    }
    counter++;
  }
  counter = 1;
  while (counter <= temp1) {
    printf("%s=%d\n", roast[counter], Dora_Explorer);
    counter++;
  }
  if (!temp1) {
    printf("-1");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3c90,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x2c,%edx
call   1060 <memset@plt>
movl   $0x0,-0x54(%rbp)
movl   $0x0,-0x58(%rbp)
lea    -0x63(%rbp),%rdi
xor    %esi,%esi
mov    $0xb,%edx
call   1060 <memset@plt>
lea    -0x90(%rbp),%rdi
xor    %esi,%esi
mov    $0x1e,%edx
call   1060 <memset@plt>
lea    -0x3c90(%rbp),%rdi
xor    %esi,%esi
mov    $0x3c00,%edx
call   1060 <memset@plt>
lea    -0x63(%rbp),%rdi
mov    0x2deb(%rip),%rax
mov    (%rax),%edx
mov    $0xb,%esi
call   1070 <fgets@plt>
lea    0xdf0(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1090 <scanf@plt>
lea    -0x63(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x14(%rbp)
mov    -0x54(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1258 <main+0xe8>
movslq -0x54(%rbp),%rax
movsbl -0x63(%rbp,%rax,1),%ecx
sub    $0x30,%ecx
movslq -0x54(%rbp),%rax
mov    %ecx,-0x50(%rbp,%rax,4)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1225 <main+0xb5>
mov    -0x50(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0xc(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x2,%ecx
sar    %cl,%eax
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     13e1 <main+0x271>
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x2,%ecx
cmp    %ecx,%eax
jge    12ec <main+0x17c>
mov    -0xc(%rbp),%eax
mov    -0x54(%rbp),%ecx
sar    %cl,%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     12c7 <main+0x157>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x50(%rbp,%rax,4),%ecx
mov    -0x10(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x10(%rbp)
jmp    12d9 <main+0x169>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x50(%rbp,%rax,4),%eax
add    -0x10(%rbp),%eax
mov    %eax,-0x10(%rbp)
jmp    12de <main+0x16e>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1289 <main+0x119>
mov    -0x10(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    13cd <main+0x25d>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    13c8 <main+0x258>
movslq -0x54(%rbp),%rax
mov    -0x63(%rbp,%rax,1),%dl
movslq -0x18(%rbp),%rcx
lea    -0x3c90(%rbp),%rax
imul   $0x1e,%rcx,%rcx
add    %rcx,%rax
mov    -0x54(%rbp),%ecx
shl    $0x1,%ecx
movslq %ecx,%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x54(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x2,%ecx
cmp    %ecx,%eax
jge    13ba <main+0x24a>
mov    -0xc(%rbp),%eax
mov    -0x54(%rbp),%ecx
sar    %cl,%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     138f <main+0x21f>
mov    -0x54(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
movslq -0x18(%rbp),%rcx
lea    -0x3c90(%rbp),%rax
imul   $0x1e,%rcx,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
movb   $0x2d,(%rax,%rcx,1)
jmp    13b5 <main+0x245>
mov    -0x54(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
movslq -0x18(%rbp),%rcx
lea    -0x3c90(%rbp),%rax
imul   $0x1e,%rcx,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
movb   $0x2b,(%rax,%rcx,1)
jmp    13ba <main+0x24a>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1308 <main+0x198>
jmp    13cd <main+0x25d>
mov    -0x50(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    125e <main+0xee>
movl   $0x1,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    14cc <main+0x35c>
movl   $0x0,-0x58(%rbp)
mov    -0x58(%rbp),%eax
mov    -0x18(%rbp),%ecx
sub    -0x58(%rbp),%ecx
cmp    %ecx,%eax
jge    14be <main+0x34e>
movslq -0x54(%rbp),%rax
lea    -0x3c90(%rbp),%rdi
imul   $0x1e,%rax,%rax
add    %rax,%rdi
mov    -0x54(%rbp),%eax
add    $0x1,%eax
cltq
lea    -0x3c90(%rbp),%rsi
imul   $0x1e,%rax,%rax
add    %rax,%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jge    14b0 <main+0x340>
lea    -0x90(%rbp),%rdi
movslq -0x54(%rbp),%rax
lea    -0x3c90(%rbp),%rsi
imul   $0x1e,%rax,%rax
add    %rax,%rsi
call   1030 <strcpy@plt>
movslq -0x54(%rbp),%rax
lea    -0x3c90(%rbp),%rdi
imul   $0x1e,%rax,%rax
add    %rax,%rdi
mov    -0x54(%rbp),%eax
add    $0x1,%eax
cltq
lea    -0x3c90(%rbp),%rsi
imul   $0x1e,%rax,%rax
add    %rax,%rsi
call   1030 <strcpy@plt>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
cltq
lea    -0x3c90(%rbp),%rdi
imul   $0x1e,%rax,%rax
add    %rax,%rdi
lea    -0x90(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    13fb <main+0x28b>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    13e8 <main+0x278>
movl   $0x1,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x18(%rbp),%eax
jg     1510 <main+0x3a0>
movslq -0x54(%rbp),%rax
lea    -0x3c90(%rbp),%rsi
imul   $0x1e,%rax,%rax
add    %rax,%rsi
mov    -0x8(%rbp),%edx
lea    0xb08(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    14d3 <main+0x363>
cmpl   $0x0,-0x18(%rbp)
jne    1528 <main+0x3b8>
lea    0xae9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x3c90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x3c88,%rsp
pxor   %xmm0,%xmm0
movdqu %xmm0,0x3c(%rsp)
movdqa %xmm0,0x30(%rsp)
movdqa %xmm0,0x20(%rsp)
movl   $0x0,0x7(%rsp)
movq   $0x0,(%rsp)
movdqu %xmm0,0x6e(%rsp)
movdqa %xmm0,0x60(%rsp)
lea    0x80(%rsp),%rdi
xor    %r13d,%r13d
mov    $0x3c00,%edx
xor    %esi,%esi
call   1060 <memset@plt>
mov    0x2e17(%rip),%rax
mov    (%rax),%edx
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0xb,%esi
call   1070 <fgets@plt>
lea    0xe76(%rip),%rdi
lea    0x10(%rsp),%rsi
call   1090 <scanf@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
lea    -0x1(%rax),%ecx
mov    %ecx,%r11d
mov    $0x0,%r10d
cmp    $0x2,%eax
jl     1339 <main+0x1c9>
cmp    $0x8,%ecx
jae    121d <main+0xad>
xor    %ecx,%ecx
jmp    1320 <main+0x1b0>
mov    %r11d,%ecx
and    $0xfffffff8,%ecx
lea    -0x8(%rcx),%rsi
mov    %rsi,%rdx
shr    $0x3,%rdx
add    $0x1,%rdx
test   %rsi,%rsi
je     1642 <main+0x4d2>
mov    %rdx,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %esi,%esi
movdqa 0xdb4(%rip),%xmm0
nopl   0x0(%rax)
movd   (%rsp,%rsi,1),%xmm1
punpcklbw %xmm1,%xmm1
punpcklwd %xmm1,%xmm1
movd   0x4(%rsp,%rsi,1),%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
psrad  $0x18,%xmm1
psrad  $0x18,%xmm2
paddd  %xmm0,%xmm1
paddd  %xmm0,%xmm2
movdqa %xmm1,0x20(%rsp,%rsi,4)
movdqa %xmm2,0x30(%rsp,%rsi,4)
movd   0x8(%rsp,%rsi,1),%xmm1
punpcklbw %xmm1,%xmm1
punpcklwd %xmm1,%xmm1
movd   0xc(%rsp,%rsi,1),%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
psrad  $0x18,%xmm1
psrad  $0x18,%xmm2
paddd  %xmm0,%xmm1
paddd  %xmm0,%xmm2
movdqa %xmm1,0x40(%rsp,%rsi,4)
movdqa %xmm2,0x50(%rsp,%rsi,4)
add    $0x10,%rsi
add    $0xfffffffffffffffe,%rdi
jne    1250 <main+0xe0>
test   $0x1,%dl
je     1313 <main+0x1a3>
movd   (%rsp,%rsi,1),%xmm0
movd   0x4(%rsp,%rsi,1),%xmm1
punpcklbw %xmm0,%xmm0
punpcklwd %xmm0,%xmm0
psrad  $0x18,%xmm0
punpcklbw %xmm1,%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x18,%xmm1
movdqa 0xd01(%rip),%xmm2
paddd  %xmm2,%xmm0
paddd  %xmm2,%xmm1
movdqa %xmm0,0x20(%rsp,%rsi,4)
movdqa %xmm1,0x30(%rsp,%rsi,4)
cmp    %r11,%rcx
je     1334 <main+0x1c4>
nopl   0x0(%rax,%rax,1)
movsbl (%rsp,%rcx,1),%edx
add    $0xffffffd0,%edx
mov    %edx,0x20(%rsp,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%r11
jne    1320 <main+0x1b0>
mov    0x20(%rsp),%r10d
lea    -0x2(%rax),%r15d
mov    0x10(%rsp),%r8d
movslq %r15d,%rcx
mov    %r15d,%r14d
and    $0xfffffff8,%r14d
movd   %r10d,%xmm9
lea    0x81(%rsp),%r9
movdqa 0xcae(%rip),%xmm8
movdqa 0xcb5(%rip),%xmm10
movdqa 0xcbc(%rip),%xmm12
movdqa 0xcc3(%rip),%xmm13
movdqa 0xcca(%rip),%xmm11
xor    %r12d,%r12d
pxor   %xmm14,%xmm14
jmp    13a1 <main+0x231>
add    $0x1,%r12d
mov    %r12d,%edx
shr    %cl,%edx
test   %edx,%edx
jne    152b <main+0x3bb>
mov    %r10d,%edx
cmp    $0x3,%eax
jl     14cd <main+0x35d>
cmp    $0x8,%r15d
jae    13c0 <main+0x250>
xor    %ebp,%ebp
mov    %r10d,%edx
jmp    14ad <main+0x33d>
nopl   (%rax)
movd   %r12d,%xmm0
pshufd $0x0,%xmm0,%xmm7
pxor   %xmm6,%xmm6
xor    %edx,%edx
movdqa %xmm9,%xmm0
movdqa %xmm8,%xmm5
nopw   0x0(%rax,%rax,1)
movdqa %xmm5,%xmm1
paddd  %xmm10,%xmm1
movdqa %xmm5,%xmm2
pslld  $0x17,%xmm2
paddd  %xmm12,%xmm2
cvttps2dq %xmm2,%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm13,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm13,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
pslld  $0x17,%xmm1
paddd  %xmm12,%xmm1
cvttps2dq %xmm1,%xmm1
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm13,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm13,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pand   %xmm7,%xmm2
pand   %xmm7,%xmm1
pcmpeqd %xmm14,%xmm2
pcmpeqd %xmm14,%xmm1
movdqu 0x24(%rsp,%rdx,4),%xmm3
movdqu 0x34(%rsp,%rdx,4),%xmm4
pxor   %xmm2,%xmm3
psubd  %xmm3,%xmm2
paddd  %xmm2,%xmm0
pxor   %xmm1,%xmm4
psubd  %xmm4,%xmm1
paddd  %xmm1,%xmm6
add    $0x8,%rdx
paddd  %xmm11,%xmm5
cmp    %rdx,%r14
jne    13e0 <main+0x270>
paddd  %xmm0,%xmm6
pshufd $0xee,%xmm6,%xmm0
paddd  %xmm6,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%edx
mov    %r14,%rbp
cmp    %r15,%r14
je     14cd <main+0x35d>
mov    %rbp,%rbx
mov    0x24(%rsp,%rbp,4),%esi
add    $0x1,%rbx
mov    %esi,%edi
neg    %edi
bt     %ebp,%r12d
cmovae %esi,%edi
add    %edi,%edx
mov    %rbx,%rbp
cmp    %rbx,%r15
jne    14b0 <main+0x340>
cmp    %r8d,%edx
jne    1390 <main+0x220>
add    $0x1,%r13d
cmp    $0x2,%eax
jl     1390 <main+0x220>
movslq %r13d,%rsi
mov    %rsi,%rdi
shl    $0x5,%rdi
sub    %rsi,%rdi
sub    %rsi,%rdi
add    %r9,%rdi
xor    %ebx,%ebx
jmp    150d <main+0x39d>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbx
cmp    %rbx,%r11
je     1390 <main+0x220>
movzbl (%rsp,%rbx,1),%edx
mov    %dl,-0x1(%rdi,%rbx,2)
cmp    %rcx,%rbx
jge    1500 <main+0x390>
bt     %ebx,%r12d
setb   %dl
add    %dl,%dl
add    $0x2b,%dl
mov    %dl,(%rdi,%rbx,2)
jmp    1500 <main+0x390>
mov    %r13d,%ebp
mov    %r13,0x18(%rsp)
cmp    $0x2,%r13d
jl     15e2 <main+0x472>
mov    0x18(%rsp),%rax
add    $0xffffffff,%eax
mov    %eax,0x14(%rsp)
mov    $0x1,%r12d
lea    0x60(%rsp),%r14
mov    %rbp,0x58(%rsp)
jmp    156a <main+0x3fa>
nopl   0x0(%rax,%rax,1)
mov    0x58(%rsp),%rbp
cmp    %rbp,%r12
je     15e2 <main+0x472>
mov    %r12,%rax
shl    $0x5,%rax
sub    %r12,%rax
sub    %r12,%rax
lea    (%rsp,%rax,1),%r15
add    $0x80,%r15
add    $0x1,%r12
lea    (%rsp,%rax,1),%rbx
add    $0x9e,%rbx
xor    %ebp,%ebp
mov    0x14(%rsp),%eax
mov    %eax,%r13d
jmp    15af <main+0x43f>
nopl   0x0(%rax)
add    $0x1,%ebp
lea    -0x1(%r13),%eax
cmp    %r13d,%ebp
mov    %eax,%r13d
jge    1560 <main+0x3f0>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1080 <strcmp@plt>
test   %rax,%rax
jns    15a0 <main+0x430>
mov    %r14,%rdi
mov    %r15,%rsi
call   1030 <strcpy@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <strcpy@plt>
jmp    15a0 <main+0x430>
mov    0x18(%rsp),%r15
test   %r15d,%r15d
jle    161b <main+0x4ab>
lea    0x9e(%rsp),%rbx
lea    0xa68(%rip),%r14
nopl   0x0(%rax,%rax,1)
mov    0x10(%rsp),%edx
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1e,%rbx
add    $0xffffffffffffffff,%rbp
jne    1600 <main+0x490>
test   %r15d,%r15d
jne    162e <main+0x4be>
lea    0xa43(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x3c88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %esi,%esi
test   $0x1,%dl
jne    12d2 <main+0x162>
jmp    1313 <main+0x1a3>

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

LLVM IR (-O2):
@stdin = global i32 0
@.str = [3 x i8] c"%d\00"
@.str.1 = [7 x i8] c"%s=%d\0A\00"
@.str.2 = [3 x i8] c"-1\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [11 x i32]
%3 = alloca [11 x i8]
%4 = alloca [30 x i8]
%5 = alloca [512 x [30 x i8]]
%6 = bitcast i32* %1 to i8*
%7 = bitcast [11 x i32]* %2 to i8*
%8 = getelementptr inbounds [11 x i8], [11 x i8]* %3, i64 0, i64 0
%9 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%10 = getelementptr inbounds [512 x [30 x i8]], [512 x [30 x i8]]* %5, i64 0, i64 0, i64 0
%11 = load i32, i32* @stdin
%12 = call i32 @fgets(i8* %8, i32 11, i32 %11)
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%14 = call i32 @strlen(i8* %8)
%15 = add i32 %14, -1
%16 = icmp sgt i32 %14, 1
br i1 %16, label %17, label %98
17: ; preds = %0
%18 = zext i32 %15 to i64
%19 = icmp ult i32 %15, 8
br i1 %19, label %84, label %20
20: ; preds = %17
%21 = and i64 %18, 4294967288
%22 = add nsw i64 %21, -8
%23 = lshr exact i64 %22, 3
%24 = add nuw nsw i64 %23, 1
%25 = and i64 %24, 1
%26 = icmp eq i64 %22, 0
br i1 %26, label %64, label %27
27: ; preds = %20
%28 = and i64 %24, 4611686018427387902
br label %29
29: ; preds = %29, %27
%30 = phi i64 [ 0, %27 ], [ %61, %29 ]
%31 = phi i64 [ 0, %27 ], [ %62, %29 ]
%32 = getelementptr inbounds [11 x i8], [11 x i8]* %3, i64 0, i64 %30
%33 = bitcast i8* %32 to <4 x i8>*
%34 = load <4 x i8>, <4 x i8>* %33
%35 = getelementptr inbounds i8, i8* %32, i64 4
%36 = bitcast i8* %35 to <4 x i8>*
%37 = load <4 x i8>, <4 x i8>* %36
%38 = sext <4 x i8> %34 to <4 x i32>
%39 = sext <4 x i8> %37 to <4 x i32>
%40 = add nsw <4 x i32> %38, <i32 -48, i32 -48, i32 -48, i32 -48>
%41 = add nsw <4 x i32> %39, <i32 -48, i32 -48, i32 -48, i32 -48>
%42 = getelementptr inbounds [11 x i32], [11 x i32]* %2, i64 0, i64 %30
%43 = bitcast i32* %42 to <4 x i32>*
store <4 x i32> %40, <4 x i32>* %43
%44 = getelementptr inbounds i32, i32* %42, i64 4
%45 = bitcast i32* %44 to <4 x i32>*
store <4 x i32> %41, <4 x i32>* %45
%46 = or i64 %30, 8
%47 = getelementptr inbounds [11 x i8], [11 x i8]* %3, i64 0, i64 %46
%48 = bitcast i8* %47 to <4 x i8>*
%49 = load <4 x i8>, <4 x i8>* %48
%50 = getelementptr inbounds i8, i8* %47, i64 4
%51 = bitcast i8* %50 to <4 x i8>*
%52 = load <4 x i8>, <4 x i8>* %51
%53 = sext <4 x i8> %49 to <4 x i32>
%54 = sext <4 x i8> %52 to <4 x i32>
%55 = add nsw <4 x i32> %53, <i32 -48, i32 -48, i32 -48, i32 -48>
%56 = add nsw <4 x i32> %54, <i32 -48, i32 -48, i32 -48, i32 -48>
%57 = getelementptr inbounds [11 x i32], [11 x i32]* %2, i64 0, i64 %46
%58 = bitcast i32* %57 to <4 x i32>*
store <4 x i32> %55, <4 x i32>* %58
%59 = getelementptr inbounds i32, i32* %57, i64 4
%60 = bitcast i32* %59 to <4 x i32>*
store <4 x i32> %56, <4 x i32>* %60
%61 = add nuw i64 %30, 16
%62 = add i64 %31, 2
%63 = icmp eq i64 %62, %28
br i1 %63, label %64, label %29
64: ; preds = %29, %20
%65 = phi i64 [ 0, %20 ], [ %61, %29 ]
%66 = icmp eq i64 %25, 0
br i1 %66, label %82, label %67
67: ; preds = %64
%68 = getelementptr inbounds [11 x i8], [11 x i8]* %3, i64 0, i64 %65
%69 = bitcast i8* %68 to <4 x i8>*
%70 = load <4 x i8>, <4 x i8>* %69
%71 = getelementptr inbounds i8, i8* %68, i64 4
%72 = bitcast i8* %71 to <4 x i8>*
%73 = load <4 x i8>, <4 x i8>* %72
%74 = sext <4 x i8> %70 to <4 x i32>
%75 = sext <4 x i8> %73 to <4 x i32>
%76 = add nsw <4 x i32> %74, <i32 -48, i32 -48, i32 -48, i32 -48>
%77 = add nsw <4 x i32> %75, <i32 -48, i32 -48, i32 -48, i32 -48>
%78 = getelementptr inbounds [11 x i32], [11 x i32]* %2, i64 0, i64 %65
%79 = bitcast i32* %78 to <4 x i32>*
store <4 x i32> %76, <4 x i32>* %79
%80 = getelementptr inbounds i32, i32* %78, i64 4
%81 = bitcast i32* %80 to <4 x i32>*
store <4 x i32> %77, <4 x i32>* %81
br label %82
82: ; preds = %64, %67
%83 = icmp eq i64 %21, %18
br i1 %83, label %95, label %84
84: ; preds = %17, %82
%85 = phi i64 [ 0, %17 ], [ %21, %82 ]
br label %86
86: ; preds = %84, %86
%87 = phi i64 [ %93, %86 ], [ %85, %84 ]
%88 = getelementptr inbounds [11 x i8], [11 x i8]* %3, i64 0, i64 %87
%89 = load i8, i8* %88
%90 = sext i8 %89 to i32
%91 = add nsw i32 %90, -48
%92 = getelementptr inbounds [11 x i32], [11 x i32]* %2, i64 0, i64 %87
store i32 %91, i32* %92
%93 = add nuw nsw i64 %87, 1
%94 = icmp eq i64 %93, %18
br i1 %94, label %95, label %86
95: ; preds = %86, %82
%96 = getelementptr inbounds [11 x i32], [11 x i32]* %2, i64 0, i64 0
%97 = load i32, i32* %96
br label %98
98: ; preds = %95, %0
%99 = phi i32 [ %97, %95 ], [ 0, %0 ]
%100 = add i32 %14, -2
%101 = icmp sgt i32 %14, 2
%102 = load i32, i32* %1
%103 = sext i32 %100 to i64
%104 = zext i32 %100 to i64
%105 = zext i32 %15 to i64
%106 = icmp ult i32 %100, 8
%107 = and i64 %104, 4294967288
%108 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %99, i64 0
%109 = icmp eq i64 %107, %104
br label %110
110: ; preds = %98, %196
%111 = phi i32 [ 0, %98 ], [ %197, %196 ]
%112 = phi i32 [ 0, %98 ], [ %198, %196 ]
br i1 %101, label %113, label %171
113: ; preds = %110
br i1 %106, label %150, label %114
114: ; preds = %113
%115 = insertelement <4 x i32> poison, i32 %112, i64 0
%116 = shufflevector <4 x i32> %115, <4 x i32> poison, <4 x i32> zeroinitializer
%117 = insertelement <4 x i32> poison, i32 %112, i64 0
%118 = shufflevector <4 x i32> %117, <4 x i32> poison, <4 x i32> zeroinitializer
br label %119
119: ; preds = %119, %114
%120 = phi i64 [ 0, %114 ], [ %144, %119 ]
%121 = phi <4 x i32> [ %108, %114 ], [ %142, %119 ]
%122 = phi <4 x i32> [ zeroinitializer, %114 ], [ %143, %119 ]
%123 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %114 ], [ %145, %119 ]
%124 = add <4 x i32> %123, <i32 4, i32 4, i32 4, i32 4>
%125 = shl nuw <4 x i32> <i32 1, i32 1, i32 1, i32 1>, %123
%126 = shl nuw <4 x i32> <i32 1, i32 1, i32 1, i32 1>, %124
%127 = and <4 x i32> %125, %116
%128 = and <4 x i32> %126, %118
%129 = icmp eq <4 x i32> %127, zeroinitializer
%130 = icmp eq <4 x i32> %128, zeroinitializer
%131 = or i64 %120, 1
%132 = getelementptr inbounds [11 x i32], [11 x i32]* %2, i64 0, i64 %131
%133 = bitcast i32* %132 to <4 x i32>*
%134 = load <4 x i32>, <4 x i32>* %133
%135 = getelementptr inbounds i32, i32* %132, i64 4
%136 = bitcast i32* %135 to <4 x i32>*
%137 = load <4 x i32>, <4 x i32>* %136
%138 = sub <4 x i32> zeroinitializer, %134
%139 = sub <4 x i32> zeroinitializer, %137
%140 = select <4 x i1> %129, <4 x i32> %134, <4 x i32> %138
%141 = select <4 x i1> %130, <4 x i32> %137, <4 x i32> %139
%142 = add <4 x i32> %121, %140
%143 = add <4 x i32> %122, %141
%144 = add nuw i64 %120, 8
%145 = add <4 x i32> %123, <i32 8, i32 8, i32 8, i32 8>
%146 = icmp eq i64 %144, %107
br i1 %146, label %147, label %119
147: ; preds = %119
%148 = add <4 x i32> %143, %142
%149 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %148)
br i1 %109, label %171, label %150
150: ; preds = %113, %147
%151 = phi i64 [ 0, %113 ], [ %107, %147 ]
%152 = phi i32 [ %99, %113 ], [ %149, %147 ]
br label %157
153: ; preds = %196
%154 = icmp sgt i32 %197, 1
br i1 %154, label %155, label %206
155: ; preds = %153
%156 = zext i32 %197 to i64
br label %201
157: ; preds = %150, %157
%158 = phi i64 [ %164, %157 ], [ %151, %150 ]
%159 = phi i32 [ %169, %157 ], [ %152, %150 ]
%160 = trunc i64 %158 to i32
%161 = shl nuw i32 1, %160
%162 = and i32 %161, %112
%163 = icmp eq i32 %162, 0
%164 = add nuw nsw i64 %158, 1
%165 = getelementptr inbounds [11 x i32], [11 x i32]* %2, i64 0, i64 %164
%166 = load i32, i32* %165
%167 = sub i32 0, %166
%168 = select i1 %163, i32 %166, i32 %167
%169 = add i32 %159, %168
%170 = icmp eq i64 %164, %104
br i1 %170, label %171, label %157
171: ; preds = %157, %147, %110
%172 = phi i32 [ %99, %110 ], [ %149, %147 ], [ %169, %157 ]
%173 = icmp eq i32 %172, %102
br i1 %173, label %174, label %196
174: ; preds = %171
%175 = add nsw i32 %111, 1
br i1 %16, label %176, label %196
176: ; preds = %174
%177 = sext i32 %175 to i64
br label %178
178: ; preds = %176, %193
%179 = phi i64 [ 0, %176 ], [ %194, %193 ]
%180 = getelementptr inbounds [11 x i8], [11 x i8]* %3, i64 0, i64 %179
%181 = load i8, i8* %180
%182 = shl nuw nsw i64 %179, 1
%183 = getelementptr inbounds [512 x [30 x i8]], [512 x [30 x i8]]* %5, i64 0, i64 %177, i64 %182
store i8 %181, i8* %183
%184 = icmp slt i64 %179, %103
br i1 %184, label %185, label %193
185: ; preds = %178
%186 = trunc i64 %179 to i32
%187 = shl nuw i32 1, %186
%188 = and i32 %187, %112
%189 = icmp eq i32 %188, 0
%190 = or i64 %182, 1
%191 = getelementptr inbounds [512 x [30 x i8]], [512 x [30 x i8]]* %5, i64 0, i64 %177, i64 %190
%192 = select i1 %189, i8 43, i8 45
store i8 %192, i8* %191
br label %193
193: ; preds = %185, %178
%194 = add nuw nsw i64 %179, 1
%195 = icmp eq i64 %194, %105
br i1 %195, label %196, label %178
196: ; preds = %193, %174, %171
%197 = phi i32 [ %111, %171 ], [ %175, %174 ], [ %175, %193 ]
%198 = add nuw nsw i32 %112, 1
%199 = lshr i32 %198, %100
%200 = icmp eq i32 %199, 0
br i1 %200, label %110, label %153
201: ; preds = %223, %155
%202 = phi i64 [ 1, %155 ], [ %204, %223 ]
%203 = getelementptr inbounds [512 x [30 x i8]], [512 x [30 x i8]]* %5, i64 0, i64 %202, i64 0
%204 = add nuw nsw i64 %202, 1
%205 = getelementptr inbounds [512 x [30 x i8]], [512 x [30 x i8]]* %5, i64 0, i64 %204, i64 0
br label %211
206: ; preds = %223, %153
%207 = icmp slt i32 %197, 1
br i1 %207, label %232, label %208
208: ; preds = %206
%209 = add nuw i32 %197, 1
%210 = zext i32 %209 to i64
br label %225
211: ; preds = %201, %219
%212 = phi i32 [ 0, %201 ], [ %220, %219 ]
%213 = call i64 @strcmp(i8* %203, i8* %205)
%214 = icmp slt i64 %213, 0
br i1 %214, label %215, label %219
215: ; preds = %211
%216 = call i32 @strcpy(i8* %9, i8* %203)
%217 = call i32 @strcpy(i8* %203, i8* %205)
%218 = call i32 @strcpy(i8* %205, i8* %9)
br label %219
219: ; preds = %215, %211
%220 = add nuw nsw i32 %212, 1
%221 = sub nsw i32 %197, %220
%222 = icmp slt i32 %220, %221
br i1 %222, label %211, label %223
223: ; preds = %219
%224 = icmp eq i64 %204, %156
br i1 %224, label %206, label %201
225: ; preds = %208, %225
%226 = phi i64 [ 1, %208 ], [ %230, %225 ]
%227 = getelementptr inbounds [512 x [30 x i8]], [512 x [30 x i8]]* %5, i64 0, i64 %226, i64 0
%228 = load i32, i32* %1
%229 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* %227, i32 %228)
%230 = add nuw nsw i64 %226, 1
%231 = icmp eq i64 %230, %210
br i1 %231, label %232, label %225
232: ; preds = %225, %206
%233 = icmp eq i32 %197, 0
br i1 %233, label %234, label %236
234: ; preds = %232
%235 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %236
236: ; preds = %234, %232
ret i32 0
}