#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 /*<<< orphan*/ scanf(char *, char *, char *, char *, char *, char *);
int main() {
  char a, b, c, d, e;
  int a_bin, b_bin, c_bin, d_bin, e_bin;
  int rezultat;
  scanf("%c %c %c %c %c", &a, &b, &c, &d, &e);
  if (a == '0') {
    if (b == '1') {
      b_bin = 8;
    } else if (b == '0') {
      b_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    if (c == '1') {
      c_bin = 4;
    } else if (c == '0') {
      c_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    if (d == '1') {
      d_bin = 2;
    } else if (d == '0') {
      d_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    if (e == '1') {
      e_bin = 1;
    } else if (e == '0') {
      e_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    rezultat = b_bin + c_bin + d_bin + e_bin;
    printf("%d", rezultat);
  } else if (a == '1') {
    if (b == '0') {
      b_bin = 8;
    } else if (b == '1') {
      b_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    if (c == '0') {
      c_bin = 4;
    } else if (c == '1') {
      c_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    if (d == '0') {
      d_bin = 2;
    } else if (d == '1') {
      d_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    if (e == '0') {
      e_bin = 1;
    } else if (e == '1') {
      e_bin = 0;
    } else {
      printf("Pogresan unos!");
      return 0;
    }
    rezultat = (b_bin + c_bin + d_bin + e_bin + 1) * (-1);
    printf("%d", rezultat);
  } else {
    printf("Pogresan unos!");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x5(%rbp),%rsi
lea    -0x6(%rbp),%rdx
lea    -0x7(%rbp),%rcx
lea    -0x8(%rbp),%r8
lea    -0x9(%rbp),%r9
call   1040 <scanf@plt>
movsbl -0x5(%rbp),%eax
cmp    $0x30,%eax
jne    12c5 <main+0x1a5>
movsbl -0x6(%rbp),%eax
cmp    $0x31,%eax
jne    1175 <main+0x55>
movl   $0x8,-0x14(%rbp)
jmp    11ad <main+0x8d>
movsbl -0x6(%rbp),%eax
cmp    $0x30,%eax
jne    118e <main+0x6e>
movl   $0x0,-0x14(%rbp)
jmp    11a8 <main+0x88>
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    11ad <main+0x8d>
movsbl -0x7(%rbp),%eax
cmp    $0x31,%eax
jne    11c6 <main+0xa6>
movl   $0x4,-0x18(%rbp)
jmp    11fe <main+0xde>
movsbl -0x7(%rbp),%eax
cmp    $0x30,%eax
jne    11df <main+0xbf>
movl   $0x0,-0x18(%rbp)
jmp    11f9 <main+0xd9>
lea    0xe29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    11fe <main+0xde>
movsbl -0x8(%rbp),%eax
cmp    $0x31,%eax
jne    1217 <main+0xf7>
movl   $0x2,-0x1c(%rbp)
jmp    124f <main+0x12f>
movsbl -0x8(%rbp),%eax
cmp    $0x30,%eax
jne    1230 <main+0x110>
movl   $0x0,-0x1c(%rbp)
jmp    124a <main+0x12a>
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    124f <main+0x12f>
movsbl -0x9(%rbp),%eax
cmp    $0x31,%eax
jne    1268 <main+0x148>
movl   $0x1,-0x20(%rbp)
jmp    12a0 <main+0x180>
movsbl -0x9(%rbp),%eax
cmp    $0x30,%eax
jne    1281 <main+0x161>
movl   $0x0,-0x20(%rbp)
jmp    129b <main+0x17b>
lea    0xd87(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    12a0 <main+0x180>
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
add    -0x1c(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%esi
lea    0xd65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1454 <main+0x334>
movsbl -0x5(%rbp),%eax
cmp    $0x31,%eax
jne    1441 <main+0x321>
movsbl -0x6(%rbp),%eax
cmp    $0x30,%eax
jne    12eb <main+0x1cb>
movl   $0x8,-0x14(%rbp)
jmp    1323 <main+0x203>
movsbl -0x6(%rbp),%eax
cmp    $0x31,%eax
jne    1304 <main+0x1e4>
movl   $0x0,-0x14(%rbp)
jmp    131e <main+0x1fe>
lea    0xd04(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    1323 <main+0x203>
movsbl -0x7(%rbp),%eax
cmp    $0x30,%eax
jne    133c <main+0x21c>
movl   $0x4,-0x18(%rbp)
jmp    1374 <main+0x254>
movsbl -0x7(%rbp),%eax
cmp    $0x31,%eax
jne    1355 <main+0x235>
movl   $0x0,-0x18(%rbp)
jmp    136f <main+0x24f>
lea    0xcb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    1374 <main+0x254>
movsbl -0x8(%rbp),%eax
cmp    $0x30,%eax
jne    138d <main+0x26d>
movl   $0x2,-0x1c(%rbp)
jmp    13c5 <main+0x2a5>
movsbl -0x8(%rbp),%eax
cmp    $0x31,%eax
jne    13a6 <main+0x286>
movl   $0x0,-0x1c(%rbp)
jmp    13c0 <main+0x2a0>
lea    0xc62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    13c5 <main+0x2a5>
movsbl -0x9(%rbp),%eax
cmp    $0x30,%eax
jne    13de <main+0x2be>
movl   $0x1,-0x20(%rbp)
jmp    1416 <main+0x2f6>
movsbl -0x9(%rbp),%eax
cmp    $0x31,%eax
jne    13f7 <main+0x2d7>
movl   $0x0,-0x20(%rbp)
jmp    1411 <main+0x2f1>
lea    0xc11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    145b <main+0x33b>
jmp    1416 <main+0x2f6>
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
add    -0x1c(%rbp),%eax
add    -0x20(%rbp),%eax
add    $0x1,%eax
imul   $0xffffffff,%eax,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%esi
lea    0xbe9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    144f <main+0x32f>
lea    0xbc7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1454 <main+0x334>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0x7(%rsp),%rsi
lea    0x6(%rsp),%rdx
lea    0x5(%rsp),%rcx
lea    0x4(%rsp),%r8
lea    0x3(%rsp),%r9
call   1040 <scanf@plt>
mov    0x7(%rsp),%al
cmp    $0x31,%al
je     116a <main+0x4a>
cmp    $0x30,%al
jne    1209 <main+0xe9>
mov    0x6(%rsp),%al
cmp    $0x31,%al
je     1181 <main+0x61>
cmp    $0x30,%al
jne    1209 <main+0xe9>
xor    %eax,%eax
jmp    1186 <main+0x66>
mov    0x6(%rsp),%al
cmp    $0x30,%al
je     1198 <main+0x78>
cmp    $0x31,%al
jne    1209 <main+0xe9>
mov    $0xffffffff,%esi
jmp    119d <main+0x7d>
mov    $0x8,%eax
mov    0x5(%rsp),%cl
cmp    $0x31,%cl
je     11ad <main+0x8d>
cmp    $0x30,%cl
jne    1209 <main+0xe9>
xor    %esi,%esi
jmp    11b2 <main+0x92>
mov    $0xfffffff7,%esi
mov    0x5(%rsp),%al
cmp    $0x30,%al
je     11c4 <main+0xa4>
cmp    $0x31,%al
jne    1209 <main+0xe9>
xor    %eax,%eax
jmp    11c9 <main+0xa9>
mov    $0x4,%esi
mov    0x4(%rsp),%cl
cmp    $0x31,%cl
je     11db <main+0xbb>
cmp    $0x30,%cl
jne    1209 <main+0xe9>
xor    %ecx,%ecx
jmp    11e0 <main+0xc0>
mov    $0xfffffffc,%eax
mov    0x4(%rsp),%cl
cmp    $0x30,%cl
je     11f2 <main+0xd2>
cmp    $0x31,%cl
jne    1209 <main+0xe9>
xor    %ecx,%ecx
jmp    11f7 <main+0xd7>
mov    $0x2,%ecx
mov    0x3(%rsp),%dl
cmp    $0x31,%dl
je     121b <main+0xfb>
cmp    $0x30,%dl
jne    1209 <main+0xe9>
xor    %edx,%edx
jmp    1220 <main+0x100>
mov    $0xfffffffe,%ecx
mov    0x3(%rsp),%dl
cmp    $0x30,%dl
je     1228 <main+0x108>
cmp    $0x31,%dl
jne    1209 <main+0xe9>
xor    %edx,%edx
jmp    122d <main+0x10d>
lea    0xdff(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret
mov    $0x1,%edx
or     %eax,%esi
or     %ecx,%esi
or     %edx,%esi
jmp    1233 <main+0x113>
mov    $0xffffffff,%edx
add    %eax,%esi
add    %ecx,%esi
add    %edx,%esi
lea    0xde4(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1217 <main+0xf7>

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

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