#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 */
typedef int /*<<< orphan*/ map;

/* Variables and functions */
scalar_t__ EOF;
int /*<<< orphan*/ freopen(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ memset(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ scanf(char *, int *);
int /*<<< orphan*/ stdin;
int main(int argc, char *argv[]) {
  int map[101], a, i, count;
  freopen("input.txt", "r", stdin);
  while (scanf("%d", &a) != EOF) {
    memset(map, 0, sizeof(map));
    map[a]++;
    for (i = 0; i < 9; i++) {
      scanf("%d", &a);
      map[a]++;
    }
    count = 0;
    for (i = 99; i > 0;) {
      if (map[i] > 0) {
        printf("%d", i);
        count++;
        map[i]--;
        if (count == 10) {
          printf("\n");
        } else {
          printf(" ");
        }
      }
      if (map[i] == 0) {
        i -= 2;
      }
    }
    for (i = 0; i < 101;) {
      if (map[i] > 0) {
        printf("%d", i);
        count++;
        map[i]--;
        if (count == 10) {
          printf("\n");
        } else {
          printf(" ");
        }
      }
      if (map[i] == 0) {
        i += 2;
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1c0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e88(%rip),%rax
mov    (%rax),%edx
lea    0xe97(%rip),%rdi
lea    0xe9a(%rip),%rsi
call   1050 <freopen@plt>
lea    0xe90(%rip),%rdi
lea    -0x1b4(%rbp),%rsi
call   1060 <scanf@plt>
mov    0x2e51(%rip),%rcx
cmp    (%rcx),%rax
je     13ae <main+0x26e>
lea    -0x1b0(%rbp),%rdi
xor    %esi,%esi
mov    $0x194,%edx
call   1040 <memset@plt>
movslq -0x1b4(%rbp),%rax
mov    -0x1b0(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x1b0(%rbp,%rax,4)
movl   $0x0,-0x1b8(%rbp)
cmpl   $0x9,-0x1b8(%rbp)
jge    1219 <main+0xd9>
lea    0xe2b(%rip),%rdi
lea    -0x1b4(%rbp),%rsi
call   1060 <scanf@plt>
movslq -0x1b4(%rbp),%rax
mov    -0x1b0(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x1b0(%rbp,%rax,4)
mov    -0x1b8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1b8(%rbp)
jmp    11cd <main+0x8d>
movl   $0x0,-0x1bc(%rbp)
movl   $0x63,-0x1b8(%rbp)
cmpl   $0x0,-0x1b8(%rbp)
jle    12e6 <main+0x1a6>
movslq -0x1b8(%rbp),%rax
cmpl   $0x0,-0x1b0(%rbp,%rax,4)
jle    12bd <main+0x17d>
mov    -0x1b8(%rbp),%esi
lea    0xdb0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1bc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1bc(%rbp)
movslq -0x1b8(%rbp),%rax
mov    -0x1b0(%rbp,%rax,4),%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x1b0(%rbp,%rax,4)
cmpl   $0xa,-0x1bc(%rbp)
jne    12aa <main+0x16a>
lea    0xd71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12b8 <main+0x178>
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12bd <main+0x17d>
movslq -0x1b8(%rbp),%rax
cmpl   $0x0,-0x1b0(%rbp,%rax,4)
jne    12e1 <main+0x1a1>
mov    -0x1b8(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x1b8(%rbp)
jmp    122d <main+0xed>
movl   $0x0,-0x1b8(%rbp)
cmpl   $0x65,-0x1b8(%rbp)
jge    13a9 <main+0x269>
movslq -0x1b8(%rbp),%rax
cmpl   $0x0,-0x1b0(%rbp,%rax,4)
jle    1380 <main+0x240>
mov    -0x1b8(%rbp),%esi
lea    0xced(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1bc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1bc(%rbp)
movslq -0x1b8(%rbp),%rax
mov    -0x1b0(%rbp,%rax,4),%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x1b0(%rbp,%rax,4)
cmpl   $0xa,-0x1bc(%rbp)
jne    136d <main+0x22d>
lea    0xcae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    137b <main+0x23b>
lea    0xc9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1380 <main+0x240>
movslq -0x1b8(%rbp),%rax
cmpl   $0x0,-0x1b0(%rbp,%rax,4)
jne    13a4 <main+0x264>
mov    -0x1b8(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x1b8(%rbp)
jmp    12f0 <main+0x1b0>
jmp    1175 <main+0x35>
xor    %eax,%eax
add    $0x1c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1a8,%rsp
mov    0x2e80(%rip),%rax
mov    (%rax),%edx
lea    0xe8f(%rip),%rdi
lea    0xe92(%rip),%rsi
call   1060 <freopen@plt>
lea    0xe88(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1070 <scanf@plt>
mov    0x2e4b(%rip),%r13
cmp    0x0(%r13),%rax
jne    11af <main+0x5f>
xor    %eax,%eax
add    $0x1a8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xe56(%rip),%r12
lea    0xc(%rsp),%r15
jmp    11d1 <main+0x81>
nopl   (%rax)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
cmp    0x0(%r13),%rax
je     119b <main+0x4b>
lea    0x10(%rsp),%rdi
xor    %esi,%esi
mov    $0x194,%edx
call   1050 <memset@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <scanf@plt>
movslq 0xc(%rsp),%rax
addl   $0x1,0x10(%rsp,%rax,4)
mov    $0x63,%ebx
xor    %ebp,%ebp
jmp    12c4 <main+0x174>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
test   %ebx,%ebx
jle    1300 <main+0x1b0>
mov    %ebx,%ebx
mov    0x10(%rsp,%rbx,4),%eax
test   %eax,%eax
jle    12f6 <main+0x1a6>
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
addl   $0xffffffff,0x10(%rsp,%rbx,4)
cmp    $0xa,%ebp
mov    $0x20,%edi
cmove  %ebp,%edi
call   1030 <putchar@plt>
mov    0x10(%rsp,%rbx,4),%eax
test   %eax,%eax
jne    12c0 <main+0x170>
add    $0xfffffffe,%ebx
jmp    12c0 <main+0x170>
nop
xor    %r14d,%r14d
jmp    131a <main+0x1ca>
cs nopw 0x0(%rax,%rax,1)
nop
cmp    $0x65,%r14d
jge    11c0 <main+0x70>
movslq %r14d,%rbx
mov    0x10(%rsp,%rbx,4),%eax
test   %eax,%eax
jle    134d <main+0x1fd>
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
addl   $0xffffffff,0x10(%rsp,%rbx,4)
cmp    $0xa,%ebp
mov    $0x20,%edi
cmove  %ebp,%edi
call   1030 <putchar@plt>
mov    0x10(%rsp,%rbx,4),%eax
test   %eax,%eax
jne    1310 <main+0x1c0>
add    $0x2,%r14d
jmp    1310 <main+0x1c0>

LLVM IR (-O0):
@.str = [10 x i8] c"input.txt\00"
@.str.1 = [2 x i8] c"r\00"
@stdin = global i32 0
@.str.2 = [3 x i8] c"%d\00"
@EOF = global i64 0
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [2 x i8] c" \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [101 x i32]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%10 = load i32, i32* @stdin
%11 = call i32 @freopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %10)
br label %12
12: ; preds = %111, %2
%13 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%14 = load i64, i64* @EOF
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %112
16: ; preds = %12
%17 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 0
%18 = call i32 @memset(i32* %17, i32 0, i32 404)
%19 = load i32, i32* %7
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %20
%22 = load i32, i32* %21
%23 = add nsw i32 %22, 1
store i32 %23, i32* %21
store i32 0, i32* %8
br label %24
24: ; preds = %34, %16
%25 = load i32, i32* %8
%26 = icmp slt i32 %25, 9
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%29 = load i32, i32* %7
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %30
%32 = load i32, i32* %31
%33 = add nsw i32 %32, 1
store i32 %33, i32* %31
br label %34
34: ; preds = %27
%35 = load i32, i32* %8
%36 = add nsw i32 %35, 1
store i32 %36, i32* %8
br label %24
37: ; preds = %24
store i32 0, i32* %9
store i32 99, i32* %8
br label %38
38: ; preds = %73, %37
%39 = load i32, i32* %8
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %74
41: ; preds = %38
%42 = load i32, i32* %8
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %43
%45 = load i32, i32* %44
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %64
47: ; preds = %41
%48 = load i32, i32* %8
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %48)
%50 = load i32, i32* %9
%51 = add nsw i32 %50, 1
store i32 %51, i32* %9
%52 = load i32, i32* %8
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %53
%55 = load i32, i32* %54
%56 = add nsw i32 %55, -1
store i32 %56, i32* %54
%57 = load i32, i32* %9
%58 = icmp eq i32 %57, 10
br i1 %58, label %59, label %61
59: ; preds = %47
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %63
61: ; preds = %47
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %63
63: ; preds = %61, %59
br label %64
64: ; preds = %63, %41
%65 = load i32, i32* %8
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %66
%68 = load i32, i32* %67
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %64
%71 = load i32, i32* %8
%72 = sub nsw i32 %71, 2
store i32 %72, i32* %8
br label %73
73: ; preds = %70, %64
br label %38
74: ; preds = %38
store i32 0, i32* %8
br label %75
75: ; preds = %110, %74
%76 = load i32, i32* %8
%77 = icmp slt i32 %76, 101
br i1 %77, label %78, label %111
78: ; preds = %75
%79 = load i32, i32* %8
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %80
%82 = load i32, i32* %81
%83 = icmp sgt i32 %82, 0
br i1 %83, label %84, label %101
84: ; preds = %78
%85 = load i32, i32* %8
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %85)
%87 = load i32, i32* %9
%88 = add nsw i32 %87, 1
store i32 %88, i32* %9
%89 = load i32, i32* %8
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %90
%92 = load i32, i32* %91
%93 = add nsw i32 %92, -1
store i32 %93, i32* %91
%94 = load i32, i32* %9
%95 = icmp eq i32 %94, 10
br i1 %95, label %96, label %98
96: ; preds = %84
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %100
98: ; preds = %84
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %100
100: ; preds = %98, %96
br label %101
101: ; preds = %100, %78
%102 = load i32, i32* %8
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [101 x i32], [101 x i32]* %6, i64 0, i64 %103
%105 = load i32, i32* %104
%106 = icmp eq i32 %105, 0
br i1 %106, label %107, label %110
107: ; preds = %101
%108 = load i32, i32* %8
%109 = add nsw i32 %108, 2
store i32 %109, i32* %8
br label %110
110: ; preds = %107, %101
br label %75
111: ; preds = %75
br label %12
112: ; preds = %12
ret i32 0
}

LLVM IR (-O2):
@.str = [10 x i8] c"input.txt\00"
@.str.1 = [2 x i8] c"r\00"
@stdin = global i32 0
@.str.2 = [3 x i8] c"%d\00"
@EOF = global i64 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [101 x i32]
%4 = alloca i32
%5 = bitcast [101 x i32]* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = load i32, i32* @stdin
%8 = tail call i32 @freopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %7)
%9 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%10 = load i64, i64* @EOF
%11 = icmp eq i64 %9, %10
br i1 %11, label %125, label %12
12: ; preds = %2
%13 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 0
br label %18
14: ; preds = %118
%15 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%16 = load i64, i64* @EOF
%17 = icmp eq i64 %15, %16
br i1 %17, label %125, label %18
18: ; preds = %12, %14
%19 = call i32 @memset(i32* %13, i32 0, i32 404)
%20 = load i32, i32* %4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %21
%23 = load i32, i32* %22
%24 = add nsw i32 %23, 1
store i32 %24, i32* %22
%25 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%26 = load i32, i32* %4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %27
%29 = load i32, i32* %28
%30 = add nsw i32 %29, 1
store i32 %30, i32* %28
%31 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%32 = load i32, i32* %4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %33
%35 = load i32, i32* %34
%36 = add nsw i32 %35, 1
store i32 %36, i32* %34
%37 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%38 = load i32, i32* %4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %39
%41 = load i32, i32* %40
%42 = add nsw i32 %41, 1
store i32 %42, i32* %40
%43 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%44 = load i32, i32* %4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %45
%47 = load i32, i32* %46
%48 = add nsw i32 %47, 1
store i32 %48, i32* %46
%49 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%50 = load i32, i32* %4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %51
%53 = load i32, i32* %52
%54 = add nsw i32 %53, 1
store i32 %54, i32* %52
%55 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%56 = load i32, i32* %4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = add nsw i32 %59, 1
store i32 %60, i32* %58
%61 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%62 = load i32, i32* %4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %63
%65 = load i32, i32* %64
%66 = add nsw i32 %65, 1
store i32 %66, i32* %64
%67 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%68 = load i32, i32* %4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %69
%71 = load i32, i32* %70
%72 = add nsw i32 %71, 1
store i32 %72, i32* %70
%73 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%74 = load i32, i32* %4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %75
%77 = load i32, i32* %76
%78 = add nsw i32 %77, 1
store i32 %78, i32* %76
br label %79
79: ; preds = %18, %95
%80 = phi i32 [ %97, %95 ], [ 0, %18 ]
%81 = phi i32 [ %100, %95 ], [ 99, %18 ]
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = icmp sgt i32 %84, 0
br i1 %85, label %86, label %95
86: ; preds = %79
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %81)
%88 = add nsw i32 %80, 1
%89 = load i32, i32* %83
%90 = add nsw i32 %89, -1
store i32 %90, i32* %83
%91 = icmp eq i32 %88, 10
%92 = select i1 %91, i32 10, i32 32
%93 = call i32 @putchar(i32 %92)
%94 = load i32, i32* %83
br label %95
95: ; preds = %86, %79
%96 = phi i32 [ %94, %86 ], [ %84, %79 ]
%97 = phi i32 [ %88, %86 ], [ %80, %79 ]
%98 = icmp eq i32 %96, 0
%99 = add nsw i32 %81, -2
%100 = select i1 %98, i32 %99, i32 %81
%101 = icmp sgt i32 %100, 0
br i1 %101, label %79, label %102
102: ; preds = %95, %118
%103 = phi i32 [ %120, %118 ], [ %97, %95 ]
%104 = phi i32 [ %123, %118 ], [ 0, %95 ]
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [101 x i32], [101 x i32]* %3, i64 0, i64 %105
%107 = load i32, i32* %106
%108 = icmp sgt i32 %107, 0
br i1 %108, label %109, label %118
109: ; preds = %102
%110 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %104)
%111 = add nsw i32 %103, 1
%112 = load i32, i32* %106
%113 = add nsw i32 %112, -1
store i32 %113, i32* %106
%114 = icmp eq i32 %111, 10
%115 = select i1 %114, i32 10, i32 32
%116 = call i32 @putchar(i32 %115)
%117 = load i32, i32* %106
br label %118
118: ; preds = %109, %102
%119 = phi i32 [ %117, %109 ], [ %107, %102 ]
%120 = phi i32 [ %111, %109 ], [ %103, %102 ]
%121 = icmp eq i32 %119, 0
%122 = add nsw i32 %104, 2
%123 = select i1 %121, i32 %122, i32 %104
%124 = icmp slt i32 %123, 101
br i1 %124, label %102, label %14
125: ; preds = %14, %2
ret i32 0
}