#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 *, int *);
int /*<<< orphan*/ system(char *);
int main() {
  int n, m, k, i = 0;
  printf(
      "Ö÷ÈË£¬ÇëÊäÈëÄãÒªµÄ¶¯ÎïÐòºÅ£¨1¡¢ß÷¡«2¡¢Íô¡«3¡¢¿©¡«4¡¢¹þ¡«5¡¢ºßßê¡«£©£º");
  scanf("%d", &m);
  if (m == 1) {
    printf("Ö÷ÈË£¬ÇëÊäÈëÄãÒªß÷µÄÐÐÊý£º");
    scanf("%d", &n);
    k = 0;
    if (n <= 1000 && n > 0) {
      while (n <= k) {
        for (i = 1; i > 0; i++) {
          printf("* ");
        }
        printf("\n");
        k++;
      }
      printf("Ö÷ÈË£¬ÎÒÒÑ¾­ß÷ºÃÁË¡«\n");
    } else if (n == 0)
      printf("Ö÷ÈË£¬ÎÒß÷²»³öÀ´¡«\n");
    else if (n > 1000)
      printf("ÄúÏëÀÛËÀß÷Ã´¡«\n");
    else
      printf("Ö÷ÈË£¬ÕâÊÇÉ¶¡«\n");
  } else if (m == 2) {
    printf("Ö÷ÈË£¬ÇëÊäÈëÄãÒªÍôµÄÐÐÊý£º");
    scanf("%d", &n);
    if (n <= 1000 && n > 0) {
      while (n != 0) {
        for (i = n; i > 0; i--) {
          printf("Íô");
        }
        printf("\n");
        n--;
      }
      printf("Ö÷ÈË£¬ÎÒÒÑ¾­ÍôºÃÁË¡«\n");
    } else if (n == 0)
      printf("Ö÷ÈË£¬ÎÒÍô²»³öÀ´¡«\n");
    else if (n > 1000)
      printf("ÄúÏëÀÛËÀÍôÃ´¡«\n");
    else
      printf("Ö÷ÈË£¬ÕâÊÇÉ¶¡«\n");
  } else if (m == 3) {
    printf("Ö÷ÈË£¬ÇëÊäÈëÄãÒª¿©µÄÐÐÊý£º");
    scanf("%d", &n);
    if (n <= 1000 && n > 0) {
      while (n != 0) {
        for (i = n; i > 0; i--) {
          printf("¿©");
        }
        printf("\n");
        n--;
      }
      printf("Ö÷ÈË£¬ÎÒÒÑ¾­¿©ºÃÁË¡«\n");
    } else if (n == 0)
      printf("Ö÷ÈË£¬ÎÒ¿©²»³öÀ´¡«\n");
    else if (n > 1000)
      printf("ÄúÏëÀÛËÀ¿©Ã´¡«\n");
    else
      printf("Ö÷ÈË£¬ÕâÊÇÉ¶¡«\n");
  } else if (m == 4) {
    printf("Ö÷ÈË£¬ÇëÊäÈëÄãÒª¹þµÄÐÐÊý£º");
    scanf("%d", &n);
    if (n <= 1000 && n > 0) {
      while (n != 0) {
        for (i = n; i > 0; i--) {
          printf("¹þ");
        }
        printf("\n");
        n--;
      }
      printf("Ö÷ÈË£¬ÎÒÒÑ¾­¹þºÃÁË¡«\n");
    } else if (n == 0)
      printf("Ö÷ÈË£¬ÎÒ¹þ²»³öÀ´¡«\n");
    else if (n > 1000)
      printf("ÄúÏëÀÛËÀÈËÃ´¡«\n");
    else
      printf("Ö÷ÈË£¬ÕâÊÇÉ¶¡«\n");
  } else if (m == 5) {
    printf("Ö÷ÈË£¬ÇëÊäÈëÄãÒªºßßêµÄÐÐÊý£º");
    scanf("%d", &n);
    if (n <= 1000 && n > 0) {
      while (n != 0) {
        for (i = n; i > 0; i--) {
          printf("ºßßê");
        }
        printf("\n");
        n--;
      }
      printf("Ö÷ÈË£¬ÎÒÒÑ¾­ºßßêºÃÁË¡«\n");
    } else if (n == 0)
      printf("Ö÷ÈË£¬ÎÒºßßê²»³öÀ´¡«\n");
    else if (n > 1000)
      printf("ÄúÏëÀÛËÀÄãÃ´¡«\n");
    else
      printf("Ö÷ÈË£¬ÕâÊÇÉ¶¡«\n");
  } else
    printf("Ö÷ÈË£¬ÄãÄÔ²ÐÁËÂð¡«¡«¡«\n");
  system("pause");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x14(%rbp)
lea    0xeb3(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2d(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x1,-0xc(%rbp)
jne    1261 <main+0x131>
lea    0xf16(%rip),%rdi
call   1040 <printf@plt>
lea    0xf07(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x3e8,-0x8(%rbp)
jg     120d <main+0xdd>
cmpl   $0x0,-0x8(%rbp)
jle    120d <main+0xdd>
jmp    11ab <main+0x7b>
mov    -0x8(%rbp),%eax
cmp    -0x10(%rbp),%eax
jg     11fc <main+0xcc>
movl   $0x1,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jle    11e2 <main+0xb2>
lea    0xeef(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11be <main+0x8e>
lea    0x106e(%rip),%rdi
call   1040 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11ab <main+0x7b>
lea    0xebe(%rip),%rdi
call   1040 <printf@plt>
jmp    125c <main+0x12c>
cmpl   $0x0,-0x8(%rbp)
jne    1228 <main+0xf8>
lea    0xecd(%rip),%rdi
call   1040 <printf@plt>
jmp    1257 <main+0x127>
cmpl   $0x3e8,-0x8(%rbp)
jle    1246 <main+0x116>
lea    0xed5(%rip),%rdi
call   1040 <printf@plt>
jmp    1252 <main+0x122>
lea    0xee2(%rip),%rdi
call   1040 <printf@plt>
jmp    1257 <main+0x127>
jmp    125c <main+0x12c>
jmp    1655 <main+0x525>
cmpl   $0x2,-0xc(%rbp)
jne    1356 <main+0x226>
lea    0xedb(%rip),%rdi
call   1040 <printf@plt>
lea    0xe08(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x3e8,-0x8(%rbp)
jg     1302 <main+0x1d2>
cmpl   $0x0,-0x8(%rbp)
jle    1302 <main+0x1d2>
jmp    12a3 <main+0x173>
cmpl   $0x0,-0x8(%rbp)
je     12f1 <main+0x1c1>
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jle    12d7 <main+0x1a7>
lea    0xebe(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    12b3 <main+0x183>
lea    0xf79(%rip),%rdi
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    12a3 <main+0x173>
lea    0xe8f(%rip),%rdi
call   1040 <printf@plt>
jmp    1351 <main+0x221>
cmpl   $0x0,-0x8(%rbp)
jne    131d <main+0x1ed>
lea    0xe9e(%rip),%rdi
call   1040 <printf@plt>
jmp    134c <main+0x21c>
cmpl   $0x3e8,-0x8(%rbp)
jle    133b <main+0x20b>
lea    0xea6(%rip),%rdi
call   1040 <printf@plt>
jmp    1347 <main+0x217>
lea    0xded(%rip),%rdi
call   1040 <printf@plt>
jmp    134c <main+0x21c>
jmp    1351 <main+0x221>
jmp    1650 <main+0x520>
cmpl   $0x3,-0xc(%rbp)
jne    144b <main+0x31b>
lea    0xe8e(%rip),%rdi
call   1040 <printf@plt>
lea    0xd13(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x3e8,-0x8(%rbp)
jg     13f7 <main+0x2c7>
cmpl   $0x0,-0x8(%rbp)
jle    13f7 <main+0x2c7>
jmp    1398 <main+0x268>
cmpl   $0x0,-0x8(%rbp)
je     13e6 <main+0x2b6>
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jle    13cc <main+0x29c>
lea    0xe71(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    13a8 <main+0x278>
lea    0xe84(%rip),%rdi
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    1398 <main+0x268>
lea    0xe42(%rip),%rdi
call   1040 <printf@plt>
jmp    1446 <main+0x316>
cmpl   $0x0,-0x8(%rbp)
jne    1412 <main+0x2e2>
lea    0xe51(%rip),%rdi
call   1040 <printf@plt>
jmp    1441 <main+0x311>
cmpl   $0x3e8,-0x8(%rbp)
jle    1430 <main+0x300>
lea    0xe59(%rip),%rdi
call   1040 <printf@plt>
jmp    143c <main+0x30c>
lea    0xcf8(%rip),%rdi
call   1040 <printf@plt>
jmp    1441 <main+0x311>
jmp    1446 <main+0x316>
jmp    164b <main+0x51b>
cmpl   $0x4,-0xc(%rbp)
jne    1540 <main+0x410>
lea    0xe41(%rip),%rdi
call   1040 <printf@plt>
lea    0xc1e(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x3e8,-0x8(%rbp)
jg     14ec <main+0x3bc>
cmpl   $0x0,-0x8(%rbp)
jle    14ec <main+0x3bc>
jmp    148d <main+0x35d>
cmpl   $0x0,-0x8(%rbp)
je     14db <main+0x3ab>
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jle    14c1 <main+0x391>
lea    0xe24(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    149d <main+0x36d>
lea    0xd8f(%rip),%rdi
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    148d <main+0x35d>
lea    0xdf5(%rip),%rdi
call   1040 <printf@plt>
jmp    153b <main+0x40b>
cmpl   $0x0,-0x8(%rbp)
jne    1507 <main+0x3d7>
lea    0xe04(%rip),%rdi
call   1040 <printf@plt>
jmp    1536 <main+0x406>
cmpl   $0x3e8,-0x8(%rbp)
jle    1525 <main+0x3f5>
lea    0xe0c(%rip),%rdi
call   1040 <printf@plt>
jmp    1531 <main+0x401>
lea    0xc03(%rip),%rdi
call   1040 <printf@plt>
jmp    1536 <main+0x406>
jmp    153b <main+0x40b>
jmp    1646 <main+0x516>
cmpl   $0x5,-0xc(%rbp)
jne    1635 <main+0x505>
lea    0xdf4(%rip),%rdi
call   1040 <printf@plt>
lea    0xb29(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
cmpl   $0x3e8,-0x8(%rbp)
jg     15e1 <main+0x4b1>
cmpl   $0x0,-0x8(%rbp)
jle    15e1 <main+0x4b1>
jmp    1582 <main+0x452>
cmpl   $0x0,-0x8(%rbp)
je     15d0 <main+0x4a0>
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jle    15b6 <main+0x486>
lea    0xddb(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    1592 <main+0x462>
lea    0xc9a(%rip),%rdi
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    1582 <main+0x452>
lea    0xdb0(%rip),%rdi
call   1040 <printf@plt>
jmp    1630 <main+0x500>
cmpl   $0x0,-0x8(%rbp)
jne    15fc <main+0x4cc>
lea    0xdc3(%rip),%rdi
call   1040 <printf@plt>
jmp    162b <main+0x4fb>
cmpl   $0x3e8,-0x8(%rbp)
jle    161a <main+0x4ea>
lea    0xdcf(%rip),%rdi
call   1040 <printf@plt>
jmp    1626 <main+0x4f6>
lea    0xb0e(%rip),%rdi
call   1040 <printf@plt>
jmp    162b <main+0x4fb>
jmp    1630 <main+0x500>
jmp    1641 <main+0x511>
lea    0xdc1(%rip),%rdi
call   1040 <printf@plt>
jmp    1646 <main+0x516>
jmp    164b <main+0x51b>
jmp    1650 <main+0x520>
jmp    1655 <main+0x525>
lea    0xdcf(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
lea    0xeb4(%rip),%rdi
call   1060 <printf@plt>
lea    0xf2e(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1070 <scanf@plt>
mov    0xc(%rsp),%eax
add    $0xffffffff,%eax
cmp    $0x4,%eax
ja     11ce <main+0x7e>
lea    0xe77(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf04(%rip),%rdi
call   1060 <printf@plt>
lea    0xef5(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1070 <scanf@plt>
mov    0x8(%rsp),%eax
lea    -0x1(%rax),%ecx
cmp    $0x3e8,%ecx
jae    1412 <main+0x2c2>
lea    0x123f(%rip),%r14
jmp    147d <main+0x32d>
lea    0xff3(%rip),%r14
jmp    147d <main+0x32d>
lea    0xef1(%rip),%rdi
call   1060 <printf@plt>
lea    0xead(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1070 <scanf@plt>
mov    0x8(%rsp),%ebx
lea    -0x1(%rbx),%eax
cmp    $0x3e7,%eax
ja     1428 <main+0x2d8>
lea    0xef7(%rip),%r15
lea    0x1169(%rip),%r14
jmp    123b <main+0xeb>
nopl   0x0(%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x8(%rsp),%ebx
add    $0xffffffff,%ebx
mov    %ebx,0x8(%rsp)
je     147d <main+0x32d>
test   %ebx,%ebx
jle    1220 <main+0xd0>
add    $0x1,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r15,%rdi
call   1060 <printf@plt>
add    $0xffffffff,%ebx
cmp    $0x1,%ebx
ja     1250 <main+0x100>
jmp    1220 <main+0xd0>
lea    0xea3(%rip),%rdi
call   1060 <printf@plt>
lea    0xe25(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1070 <scanf@plt>
mov    0x8(%rsp),%ebx
lea    -0x1(%rbx),%eax
cmp    $0x3e7,%eax
ja     143b <main+0x2eb>
lea    0xea9(%rip),%r15
lea    0x1076(%rip),%r14
jmp    12cb <main+0x17b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x8(%rsp),%ebx
add    $0xffffffff,%ebx
mov    %ebx,0x8(%rsp)
je     147d <main+0x32d>
test   %ebx,%ebx
jle    12b0 <main+0x160>
add    $0x1,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r15,%rdi
call   1060 <printf@plt>
add    $0xffffffff,%ebx
cmp    $0x1,%ebx
ja     12e0 <main+0x190>
jmp    12b0 <main+0x160>
lea    0xe4d(%rip),%rdi
call   1060 <printf@plt>
lea    0xd95(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1070 <scanf@plt>
mov    0x8(%rsp),%ebx
lea    -0x1(%rbx),%eax
cmp    $0x3e7,%eax
ja     144e <main+0x2fe>
lea    0xe53(%rip),%r15
lea    0xf7b(%rip),%r14
jmp    135b <main+0x20b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x8(%rsp),%ebx
add    $0xffffffff,%ebx
mov    %ebx,0x8(%rsp)
je     147d <main+0x32d>
test   %ebx,%ebx
jle    1340 <main+0x1f0>
add    $0x1,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r15,%rdi
call   1060 <printf@plt>
add    $0xffffffff,%ebx
cmp    $0x1,%ebx
ja     1370 <main+0x220>
jmp    1340 <main+0x1f0>
lea    0xdf7(%rip),%rdi
call   1060 <printf@plt>
lea    0xd05(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1070 <scanf@plt>
mov    0x8(%rsp),%ebx
lea    -0x1(%rbx),%eax
cmp    $0x3e7,%eax
ja     1461 <main+0x311>
lea    0xe01(%rip),%r15
lea    0xe7c(%rip),%r14
jmp    13eb <main+0x29b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x8(%rsp),%ebx
add    $0xffffffff,%ebx
mov    %ebx,0x8(%rsp)
je     147d <main+0x32d>
test   %ebx,%ebx
jle    13d0 <main+0x280>
add    $0x1,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r15,%rdi
call   1060 <printf@plt>
add    $0xffffffff,%ebx
cmp    $0x1,%ebx
ja     1400 <main+0x2b0>
jmp    13d0 <main+0x280>
test   %eax,%eax
je     149d <main+0x34d>
cmp    $0x3e9,%eax
lea    0xfa0(%rip),%rax
jmp    1472 <main+0x322>
test   %ebx,%ebx
je     14a6 <main+0x356>
cmp    $0x3e9,%ebx
lea    0xf05(%rip),%rax
jmp    1472 <main+0x322>
test   %ebx,%ebx
je     14af <main+0x35f>
cmp    $0x3e9,%ebx
lea    0xe87(%rip),%rax
jmp    1472 <main+0x322>
test   %ebx,%ebx
je     14b8 <main+0x368>
cmp    $0x3e9,%ebx
lea    0xe09(%rip),%rax
jmp    1472 <main+0x322>
test   %ebx,%ebx
je     14c1 <main+0x371>
cmp    $0x3e9,%ebx
lea    0xd83(%rip),%rax
lea    0xf30(%rip),%r14
cmovge %rax,%r14
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0xd36(%rip),%rdi
call   1050 <system@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
lea    0xf3f(%rip),%r14
jmp    147d <main+0x32d>
lea    0xeae(%rip),%r14
jmp    147d <main+0x32d>
lea    0xe3a(%rip),%r14
jmp    147d <main+0x32d>
lea    0xdc6(%rip),%r14
jmp    147d <main+0x32d>
lea    0xd4a(%rip),%r14
jmp    147d <main+0x32d>

LLVM IR (-O0):
@.str = [134 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\B5\C3\84\C2\B6\C2\AF\C3\8E\C3\AF\C3\90\C3\B2\C2\BA\C3\85\C2\A3\C2\A81\C2\A1\C2\A2\C3\9F\C3\B7\C2\A1\C2\AB2\C2\A1\C2\A2\C3\8D\C3\B4\C2\A1\C2\AB3\C2\A1\C2\A2\C2\BF\C2\A9\C2\A1\C2\AB4\C2\A1\C2\A2\C2\B9\C3\BE\C2\A1\C2\AB5\C2\A1\C2\A2\C2\BA\C3\9F\C3\9F\C3\AA\C2\A1\C2\AB\C2\A3\C2\A9\C2\A3\C2\BA\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C3\9F\C3\B7\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.3 = [3 x i8] c"* \00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [42 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C3\9F\C3\B7\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\0A\00"
@.str.6 = [38 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\9F\C3\B7\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\0A\00"
@.str.7 = [30 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\9F\C3\B7\C3\83\C2\B4\C2\A1\C2\AB\0A\00"
@.str.8 = [30 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\95\C3\A2\C3\8A\C3\87\C3\89\C2\B6\C2\A1\C2\AB\0A\00"
@.str.9 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C3\8D\C3\B4\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.10 = [5 x i8] c"\C3\8D\C3\B4\00"
@.str.11 = [42 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C3\8D\C3\B4\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\0A\00"
@.str.12 = [38 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\8D\C3\B4\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\0A\00"
@.str.13 = [30 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\8D\C3\B4\C3\83\C2\B4\C2\A1\C2\AB\0A\00"
@.str.14 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\BF\C2\A9\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.15 = [5 x i8] c"\C2\BF\C2\A9\00"
@.str.16 = [42 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C2\BF\C2\A9\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\0A\00"
@.str.17 = [38 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C2\BF\C2\A9\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\0A\00"
@.str.18 = [30 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C2\BF\C2\A9\C3\83\C2\B4\C2\A1\C2\AB\0A\00"
@.str.19 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\B9\C3\BE\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.20 = [5 x i8] c"\C2\B9\C3\BE\00"
@.str.21 = [42 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C2\B9\C3\BE\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\0A\00"
@.str.22 = [38 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C2\B9\C3\BE\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\0A\00"
@.str.23 = [30 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\88\C3\8B\C3\83\C2\B4\C2\A1\C2\AB\0A\00"
@.str.24 = [57 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\BA\C3\9F\C3\9F\C3\AA\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.25 = [9 x i8] c"\C2\BA\C3\9F\C3\9F\C3\AA\00"
@.str.26 = [46 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C2\BA\C3\9F\C3\9F\C3\AA\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\0A\00"
@.str.27 = [42 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C2\BA\C3\9F\C3\9F\C3\AA\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\0A\00"
@.str.28 = [30 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\84\C3\A3\C3\83\C2\B4\C2\A1\C2\AB\0A\00"
@.str.29 = [46 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\84\C3\A3\C3\84\C3\94\C2\B2\C3\90\C3\81\C3\8B\C3\82\C3\B0\C2\A1\C2\AB\C2\A1\C2\AB\C2\A1\C2\AB\0A\00"
@.str.30 = [6 x i8] c"pause\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %5
%6 = call i32 @printf(i8* getelementptr inbounds ([134 x i8], [134 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%8 = load i32, i32* %3
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %53
10: ; preds = %0
%11 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
store i32 0, i32* %4
%13 = load i32, i32* %2
%14 = icmp sle i32 %13, 1000
br i1 %14, label %15, label %38
15: ; preds = %10
%16 = load i32, i32* %2
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %38
18: ; preds = %15
br label %19
19: ; preds = %32, %18
%20 = load i32, i32* %2
%21 = load i32, i32* %4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %36
23: ; preds = %19
store i32 1, i32* %5
br label %24
24: ; preds = %29, %23
%25 = load i32, i32* %5
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %29
29: ; preds = %27
%30 = load i32, i32* %5
%31 = add nsw i32 %30, 1
store i32 %31, i32* %5
br label %24
32: ; preds = %24
%33 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%34 = load i32, i32* %4
%35 = add nsw i32 %34, 1
store i32 %35, i32* %4
br label %19
36: ; preds = %19
%37 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
br label %52
38: ; preds = %15, %10
%39 = load i32, i32* %2
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
br label %51
43: ; preds = %38
%44 = load i32, i32* %2
%45 = icmp sgt i32 %44, 1000
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
br label %50
48: ; preds = %43
%49 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
br label %50
50: ; preds = %48, %46
br label %51
51: ; preds = %50, %41
br label %52
52: ; preds = %51, %36
br label %243
53: ; preds = %0
%54 = load i32, i32* %3
%55 = icmp eq i32 %54, 2
br i1 %55, label %56, label %99
56: ; preds = %53
%57 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.9, i64 0, i64 0))
%58 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%59 = load i32, i32* %2
%60 = icmp sle i32 %59, 1000
br i1 %60, label %61, label %84
61: ; preds = %56
%62 = load i32, i32* %2
%63 = icmp sgt i32 %62, 0
br i1 %63, label %64, label %84
64: ; preds = %61
br label %65
65: ; preds = %78, %64
%66 = load i32, i32* %2
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %82
68: ; preds = %65
%69 = load i32, i32* %2
store i32 %69, i32* %5
br label %70
70: ; preds = %75, %68
%71 = load i32, i32* %5
%72 = icmp sgt i32 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
br label %75
75: ; preds = %73
%76 = load i32, i32* %5
%77 = add nsw i32 %76, -1
store i32 %77, i32* %5
br label %70
78: ; preds = %70
%79 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%80 = load i32, i32* %2
%81 = add nsw i32 %80, -1
store i32 %81, i32* %2
br label %65
82: ; preds = %65
%83 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0))
br label %98
84: ; preds = %61, %56
%85 = load i32, i32* %2
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %84
%88 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
br label %97
89: ; preds = %84
%90 = load i32, i32* %2
%91 = icmp sgt i32 %90, 1000
br i1 %91, label %92, label %94
92: ; preds = %89
%93 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0))
br label %96
94: ; preds = %89
%95 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
br label %96
96: ; preds = %94, %92
br label %97
97: ; preds = %96, %87
br label %98
98: ; preds = %97, %82
br label %242
99: ; preds = %53
%100 = load i32, i32* %3
%101 = icmp eq i32 %100, 3
br i1 %101, label %102, label %145
102: ; preds = %99
%103 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.14, i64 0, i64 0))
%104 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%105 = load i32, i32* %2
%106 = icmp sle i32 %105, 1000
br i1 %106, label %107, label %130
107: ; preds = %102
%108 = load i32, i32* %2
%109 = icmp sgt i32 %108, 0
br i1 %109, label %110, label %130
110: ; preds = %107
br label %111
111: ; preds = %124, %110
%112 = load i32, i32* %2
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %128
114: ; preds = %111
%115 = load i32, i32* %2
store i32 %115, i32* %5
br label %116
116: ; preds = %121, %114
%117 = load i32, i32* %5
%118 = icmp sgt i32 %117, 0
br i1 %118, label %119, label %124
119: ; preds = %116
%120 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
br label %121
121: ; preds = %119
%122 = load i32, i32* %5
%123 = add nsw i32 %122, -1
store i32 %123, i32* %5
br label %116
124: ; preds = %116
%125 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%126 = load i32, i32* %2
%127 = add nsw i32 %126, -1
store i32 %127, i32* %2
br label %111
128: ; preds = %111
%129 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.16, i64 0, i64 0))
br label %144
130: ; preds = %107, %102
%131 = load i32, i32* %2
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %135
133: ; preds = %130
%134 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.17, i64 0, i64 0))
br label %143
135: ; preds = %130
%136 = load i32, i32* %2
%137 = icmp sgt i32 %136, 1000
br i1 %137, label %138, label %140
138: ; preds = %135
%139 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0))
br label %142
140: ; preds = %135
%141 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
br label %142
142: ; preds = %140, %138
br label %143
143: ; preds = %142, %133
br label %144
144: ; preds = %143, %128
br label %241
145: ; preds = %99
%146 = load i32, i32* %3
%147 = icmp eq i32 %146, 4
br i1 %147, label %148, label %191
148: ; preds = %145
%149 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.19, i64 0, i64 0))
%150 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%151 = load i32, i32* %2
%152 = icmp sle i32 %151, 1000
br i1 %152, label %153, label %176
153: ; preds = %148
%154 = load i32, i32* %2
%155 = icmp sgt i32 %154, 0
br i1 %155, label %156, label %176
156: ; preds = %153
br label %157
157: ; preds = %170, %156
%158 = load i32, i32* %2
%159 = icmp ne i32 %158, 0
br i1 %159, label %160, label %174
160: ; preds = %157
%161 = load i32, i32* %2
store i32 %161, i32* %5
br label %162
162: ; preds = %167, %160
%163 = load i32, i32* %5
%164 = icmp sgt i32 %163, 0
br i1 %164, label %165, label %170
165: ; preds = %162
%166 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
br label %167
167: ; preds = %165
%168 = load i32, i32* %5
%169 = add nsw i32 %168, -1
store i32 %169, i32* %5
br label %162
170: ; preds = %162
%171 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%172 = load i32, i32* %2
%173 = add nsw i32 %172, -1
store i32 %173, i32* %2
br label %157
174: ; preds = %157
%175 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.21, i64 0, i64 0))
br label %190
176: ; preds = %153, %148
%177 = load i32, i32* %2
%178 = icmp eq i32 %177, 0
br i1 %178, label %179, label %181
179: ; preds = %176
%180 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.22, i64 0, i64 0))
br label %189
181: ; preds = %176
%182 = load i32, i32* %2
%183 = icmp sgt i32 %182, 1000
br i1 %183, label %184, label %186
184: ; preds = %181
%185 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.23, i64 0, i64 0))
br label %188
186: ; preds = %181
%187 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
br label %188
188: ; preds = %186, %184
br label %189
189: ; preds = %188, %179
br label %190
190: ; preds = %189, %174
br label %240
191: ; preds = %145
%192 = load i32, i32* %3
%193 = icmp eq i32 %192, 5
br i1 %193, label %194, label %237
194: ; preds = %191
%195 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.24, i64 0, i64 0))
%196 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%197 = load i32, i32* %2
%198 = icmp sle i32 %197, 1000
br i1 %198, label %199, label %222
199: ; preds = %194
%200 = load i32, i32* %2
%201 = icmp sgt i32 %200, 0
br i1 %201, label %202, label %222
202: ; preds = %199
br label %203
203: ; preds = %216, %202
%204 = load i32, i32* %2
%205 = icmp ne i32 %204, 0
br i1 %205, label %206, label %220
206: ; preds = %203
%207 = load i32, i32* %2
store i32 %207, i32* %5
br label %208
208: ; preds = %213, %206
%209 = load i32, i32* %5
%210 = icmp sgt i32 %209, 0
br i1 %210, label %211, label %216
211: ; preds = %208
%212 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.25, i64 0, i64 0))
br label %213
213: ; preds = %211
%214 = load i32, i32* %5
%215 = add nsw i32 %214, -1
store i32 %215, i32* %5
br label %208
216: ; preds = %208
%217 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%218 = load i32, i32* %2
%219 = add nsw i32 %218, -1
store i32 %219, i32* %2
br label %203
220: ; preds = %203
%221 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.26, i64 0, i64 0))
br label %236
222: ; preds = %199, %194
%223 = load i32, i32* %2
%224 = icmp eq i32 %223, 0
br i1 %224, label %225, label %227
225: ; preds = %222
%226 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.27, i64 0, i64 0))
br label %235
227: ; preds = %222
%228 = load i32, i32* %2
%229 = icmp sgt i32 %228, 1000
br i1 %229, label %230, label %232
230: ; preds = %227
%231 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.28, i64 0, i64 0))
br label %234
232: ; preds = %227
%233 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0))
br label %234
234: ; preds = %232, %230
br label %235
235: ; preds = %234, %225
br label %236
236: ; preds = %235, %220
br label %239
237: ; preds = %191
%238 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.29, i64 0, i64 0))
br label %239
239: ; preds = %237, %236
br label %240
240: ; preds = %239, %190
br label %241
241: ; preds = %240, %144
br label %242
242: ; preds = %241, %98
br label %243
243: ; preds = %242, %52
%244 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [134 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\B5\C3\84\C2\B6\C2\AF\C3\8E\C3\AF\C3\90\C3\B2\C2\BA\C3\85\C2\A3\C2\A81\C2\A1\C2\A2\C3\9F\C3\B7\C2\A1\C2\AB2\C2\A1\C2\A2\C3\8D\C3\B4\C2\A1\C2\AB3\C2\A1\C2\A2\C2\BF\C2\A9\C2\A1\C2\AB4\C2\A1\C2\A2\C2\B9\C3\BE\C2\A1\C2\AB5\C2\A1\C2\A2\C2\BA\C3\9F\C3\9F\C3\AA\C2\A1\C2\AB\C2\A3\C2\A9\C2\A3\C2\BA\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C3\9F\C3\B7\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.9 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C3\8D\C3\B4\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.10 = [5 x i8] c"\C3\8D\C3\B4\00"
@.str.14 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\BF\C2\A9\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.15 = [5 x i8] c"\C2\BF\C2\A9\00"
@.str.19 = [53 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\B9\C3\BE\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.20 = [5 x i8] c"\C2\B9\C3\BE\00"
@.str.24 = [57 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\84\C3\A3\C3\92\C2\AA\C2\BA\C3\9F\C3\9F\C3\AA\C2\B5\C3\84\C3\90\C3\90\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.25 = [9 x i8] c"\C2\BA\C3\9F\C3\9F\C3\AA\00"
@.str.30 = [6 x i8] c"pause\00"
@str = [45 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\84\C3\A3\C3\84\C3\94\C2\B2\C3\90\C3\81\C3\8B\C3\82\C3\B0\C2\A1\C2\AB\C2\A1\C2\AB\C2\A1\C2\AB\00"
@str.32 = [29 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\84\C3\A3\C3\83\C2\B4\C2\A1\C2\AB\00"
@str.33 = [41 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C2\BA\C3\9F\C3\9F\C3\AA\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\00"
@str.34 = [45 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C2\BA\C3\9F\C3\9F\C3\AA\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\00"
@str.36 = [29 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\88\C3\8B\C3\83\C2\B4\C2\A1\C2\AB\00"
@str.37 = [37 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C2\B9\C3\BE\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\00"
@str.38 = [41 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C2\B9\C3\BE\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\00"
@str.40 = [29 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C2\BF\C2\A9\C3\83\C2\B4\C2\A1\C2\AB\00"
@str.41 = [37 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C2\BF\C2\A9\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\00"
@str.42 = [41 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C2\BF\C2\A9\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\00"
@str.44 = [29 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\8D\C3\B4\C3\83\C2\B4\C2\A1\C2\AB\00"
@str.45 = [37 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\8D\C3\B4\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\00"
@str.46 = [41 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C3\8D\C3\B4\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\00"
@str.47 = [29 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\95\C3\A2\C3\8A\C3\87\C3\89\C2\B6\C2\A1\C2\AB\00"
@str.48 = [29 x i8] c"\C3\84\C3\BA\C3\8F\C3\AB\C3\80\C3\9B\C3\8B\C3\80\C3\9F\C3\B7\C3\83\C2\B4\C2\A1\C2\AB\00"
@str.49 = [37 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\9F\C3\B7\C2\B2\C2\BB\C2\B3\C3\B6\C3\80\C2\B4\C2\A1\C2\AB\00"
@str.50 = [41 x i8] c"\C3\96\C3\B7\C3\88\C3\8B\C2\A3\C2\AC\C3\8E\C3\92\C3\92\C3\91\C2\BE\C2\AD\C3\9F\C3\B7\C2\BA\C3\83\C3\81\C3\8B\C2\A1\C2\AB\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([134 x i8], [134 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%7 = load i32, i32* %2
switch i32 %7, label %115 [
i32 1, label %8
i32 2, label %19
i32 3, label %43
i32 4, label %67
i32 5, label %91
]
8: ; preds = %0
%9 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
%10 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%11 = load i32, i32* %1
%12 = add i32 %11, -1
%13 = icmp ult i32 %12, 1000
br i1 %13, label %115, label %14
14: ; preds = %8
%15 = icmp eq i32 %11, 0
br i1 %15, label %115, label %16
16: ; preds = %14
%17 = icmp sgt i32 %11, 1000
%18 = select i1 %17, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.48, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.47, i64 0, i64 0)
br label %115
19: ; preds = %0
%20 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.9, i64 0, i64 0))
%21 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%22 = load i32, i32* %1
%23 = add i32 %22, -1
%24 = icmp ult i32 %23, 1000
br i1 %24, label %25, label %38
25: ; preds = %19, %33
%26 = phi i32 [ %36, %33 ], [ %22, %19 ]
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %25, %28
%29 = phi i32 [ %31, %28 ], [ %26, %25 ]
%30 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%31 = add nsw i32 %29, -1
%32 = icmp ugt i32 %29, 1
br i1 %32, label %28, label %33
33: ; preds = %28, %25
%34 = call i32 @putchar(i32 10)
%35 = load i32, i32* %1
%36 = add nsw i32 %35, -1
store i32 %36, i32* %1
%37 = icmp eq i32 %36, 0
br i1 %37, label %115, label %25
38: ; preds = %19
%39 = icmp eq i32 %22, 0
br i1 %39, label %115, label %40
40: ; preds = %38
%41 = icmp sgt i32 %22, 1000
%42 = select i1 %41, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.44, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.47, i64 0, i64 0)
br label %115
43: ; preds = %0
%44 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.14, i64 0, i64 0))
%45 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%46 = load i32, i32* %1
%47 = add i32 %46, -1
%48 = icmp ult i32 %47, 1000
br i1 %48, label %49, label %62
49: ; preds = %43, %57
%50 = phi i32 [ %60, %57 ], [ %46, %43 ]
%51 = icmp sgt i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %49, %52
%53 = phi i32 [ %55, %52 ], [ %50, %49 ]
%54 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%55 = add nsw i32 %53, -1
%56 = icmp ugt i32 %53, 1
br i1 %56, label %52, label %57
57: ; preds = %52, %49
%58 = call i32 @putchar(i32 10)
%59 = load i32, i32* %1
%60 = add nsw i32 %59, -1
store i32 %60, i32* %1
%61 = icmp eq i32 %60, 0
br i1 %61, label %115, label %49
62: ; preds = %43
%63 = icmp eq i32 %46, 0
br i1 %63, label %115, label %64
64: ; preds = %62
%65 = icmp sgt i32 %46, 1000
%66 = select i1 %65, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.40, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.47, i64 0, i64 0)
br label %115
67: ; preds = %0
%68 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.19, i64 0, i64 0))
%69 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%70 = load i32, i32* %1
%71 = add i32 %70, -1
%72 = icmp ult i32 %71, 1000
br i1 %72, label %73, label %86
73: ; preds = %67, %81
%74 = phi i32 [ %84, %81 ], [ %70, %67 ]
%75 = icmp sgt i32 %74, 0
br i1 %75, label %76, label %81
76: ; preds = %73, %76
%77 = phi i32 [ %79, %76 ], [ %74, %73 ]
%78 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%79 = add nsw i32 %77, -1
%80 = icmp ugt i32 %77, 1
br i1 %80, label %76, label %81
81: ; preds = %76, %73
%82 = call i32 @putchar(i32 10)
%83 = load i32, i32* %1
%84 = add nsw i32 %83, -1
store i32 %84, i32* %1
%85 = icmp eq i32 %84, 0
br i1 %85, label %115, label %73
86: ; preds = %67
%87 = icmp eq i32 %70, 0
br i1 %87, label %115, label %88
88: ; preds = %86
%89 = icmp sgt i32 %70, 1000
%90 = select i1 %89, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.36, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.47, i64 0, i64 0)
br label %115
91: ; preds = %0
%92 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.24, i64 0, i64 0))
%93 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%94 = load i32, i32* %1
%95 = add i32 %94, -1
%96 = icmp ult i32 %95, 1000
br i1 %96, label %97, label %110
97: ; preds = %91, %105
%98 = phi i32 [ %108, %105 ], [ %94, %91 ]
%99 = icmp sgt i32 %98, 0
br i1 %99, label %100, label %105
100: ; preds = %97, %100
%101 = phi i32 [ %103, %100 ], [ %98, %97 ]
%102 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.25, i64 0, i64 0))
%103 = add nsw i32 %101, -1
%104 = icmp ugt i32 %101, 1
br i1 %104, label %100, label %105
105: ; preds = %100, %97
%106 = call i32 @putchar(i32 10)
%107 = load i32, i32* %1
%108 = add nsw i32 %107, -1
store i32 %108, i32* %1
%109 = icmp eq i32 %108, 0
br i1 %109, label %115, label %97
110: ; preds = %91
%111 = icmp eq i32 %94, 0
br i1 %111, label %115, label %112
112: ; preds = %110
%113 = icmp sgt i32 %94, 1000
%114 = select i1 %113, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.32, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @str.47, i64 0, i64 0)
br label %115
115: ; preds = %105, %81, %57, %33, %0, %112, %110, %88, %86, %64, %62, %40, %38, %16, %14, %8
%116 = phi i8* [ getelementptr inbounds ([41 x i8], [41 x i8]* @str.50, i64 0, i64 0), %8 ], [ getelementptr inbounds ([37 x i8], [37 x i8]* @str.49, i64 0, i64 0), %14 ], [ %18, %16 ], [ getelementptr inbounds ([37 x i8], [37 x i8]* @str.45, i64 0, i64 0), %38 ], [ %42, %40 ], [ getelementptr inbounds ([37 x i8], [37 x i8]* @str.41, i64 0, i64 0), %62 ], [ %66, %64 ], [ getelementptr inbounds ([37 x i8], [37 x i8]* @str.37, i64 0, i64 0), %86 ], [ %90, %88 ], [ getelementptr inbounds ([41 x i8], [41 x i8]* @str.33, i64 0, i64 0), %110 ], [ %114, %112 ], [ getelementptr inbounds ([45 x i8], [45 x i8]* @str, i64 0, i64 0), %0 ], [ getelementptr inbounds ([41 x i8], [41 x i8]* @str.46, i64 0, i64 0), %33 ], [ getelementptr inbounds ([41 x i8], [41 x i8]* @str.42, i64 0, i64 0), %57 ], [ getelementptr inbounds ([41 x i8], [41 x i8]* @str.38, i64 0, i64 0), %81 ], [ getelementptr inbounds ([45 x i8], [45 x i8]* @str.34, i64 0, i64 0), %105 ]
%117 = call i32 @puts(i8* dereferenceable(1) %116)
%118 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i64 0, i64 0))
ret i32 0
}