#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 main() {
  int a;
  scanf("%d", &a);
  if (a == 61) {
    printf("Brasilia\n");
  } else if (a == 71) {
    printf("Salvador\n");
  } else if (a == 11) {
    printf("Sao Paulo\n");
  } else if (a == 21) {
    printf("Rio de Janeiro\n");
  } else if (a == 32) {
    printf("Juiz de Fora\n");
  } else if (a == 19) {
    printf("Campinas\n");
  } else if (a == 27) {
    printf("Vitoria\n");
  } else if (a == 31) {
    printf("Belo Horizonte\n");
  } else if (a != 61 || a != 71 || a != 11 || a != 21 || a != 32 || a != 19 ||
             a != 27 || a != 31) {
    printf("DDD nao cadastrado\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
cmpl   $0x3d,-0x8(%rbp)
jne    115a <main+0x3a>
lea    0xeb3(%rip),%rdi
call   1030 <printf@plt>
jmp    129b <main+0x17b>
cmpl   $0x47,-0x8(%rbp)
jne    1175 <main+0x55>
lea    0xea2(%rip),%rdi
call   1030 <printf@plt>
jmp    1296 <main+0x176>
cmpl   $0xb,-0x8(%rbp)
jne    1190 <main+0x70>
lea    0xe91(%rip),%rdi
call   1030 <printf@plt>
jmp    1291 <main+0x171>
cmpl   $0x15,-0x8(%rbp)
jne    11ab <main+0x8b>
lea    0xe81(%rip),%rdi
call   1030 <printf@plt>
jmp    128c <main+0x16c>
cmpl   $0x20,-0x8(%rbp)
jne    11c6 <main+0xa6>
lea    0xe76(%rip),%rdi
call   1030 <printf@plt>
jmp    1287 <main+0x167>
cmpl   $0x13,-0x8(%rbp)
jne    11e1 <main+0xc1>
lea    0xe69(%rip),%rdi
call   1030 <printf@plt>
jmp    1282 <main+0x162>
cmpl   $0x1b,-0x8(%rbp)
jne    11fc <main+0xdc>
lea    0xe58(%rip),%rdi
call   1030 <printf@plt>
jmp    127d <main+0x15d>
cmpl   $0x1f,-0x8(%rbp)
jne    1217 <main+0xf7>
lea    0xe46(%rip),%rdi
call   1030 <printf@plt>
jmp    1278 <main+0x158>
cmpl   $0x3d,-0x8(%rbp)
jne    1267 <main+0x147>
cmpl   $0x47,-0x8(%rbp)
jne    1267 <main+0x147>
cmpl   $0xb,-0x8(%rbp)
jne    1267 <main+0x147>
cmpl   $0x15,-0x8(%rbp)
jne    1267 <main+0x147>
cmpl   $0x20,-0x8(%rbp)
jne    1267 <main+0x147>
cmpl   $0x13,-0x8(%rbp)
jne    1267 <main+0x147>
cmpl   $0x1b,-0x8(%rbp)
jne    1267 <main+0x147>
cmpl   $0x1f,-0x8(%rbp)
je     1273 <main+0x153>
lea    0xdf5(%rip),%rdi
call   1030 <printf@plt>
jmp    1278 <main+0x158>
jmp    127d <main+0x15d>
jmp    1282 <main+0x162>
jmp    1287 <main+0x167>
jmp    128c <main+0x16c>
jmp    1291 <main+0x171>
jmp    1296 <main+0x176>
jmp    129b <main+0x17b>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xfcc(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1040 <scanf@plt>
mov    0x4(%rsp),%eax
add    $0xfffffff5,%eax
cmp    $0x3c,%eax
ja     115e <main+0x3e>
lea    0x1014(%rip),%rdi
lea    0xeb4(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xfea(%rip),%rdi
jmp    119b <main+0x7b>
lea    0xf92(%rip),%rdi
jmp    119b <main+0x7b>
lea    0xfb3(%rip),%rdi
jmp    119b <main+0x7b>
lea    0xfc0(%rip),%rdi
jmp    119b <main+0x7b>
lea    0xf99(%rip),%rdi
jmp    119b <main+0x7b>
lea    0xf81(%rip),%rdi
jmp    119b <main+0x7b>
lea    0xf98(%rip),%rdi
jmp    119b <main+0x7b>
lea    0xfb5(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [10 x i8] c"Brasilia\0A\00"
@.str.2 = [10 x i8] c"Salvador\0A\00"
@.str.3 = [11 x i8] c"Sao Paulo\0A\00"
@.str.4 = [16 x i8] c"Rio de Janeiro\0A\00"
@.str.5 = [14 x i8] c"Juiz de Fora\0A\00"
@.str.6 = [10 x i8] c"Campinas\0A\00"
@.str.7 = [9 x i8] c"Vitoria\0A\00"
@.str.8 = [16 x i8] c"Belo Horizonte\0A\00"
@.str.9 = [20 x i8] c"DDD nao cadastrado\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%4 = load i32, i32* %2
%5 = icmp eq i32 %4, 61
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
br label %77
8: ; preds = %0
%9 = load i32, i32* %2
%10 = icmp eq i32 %9, 71
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %76
13: ; preds = %8
%14 = load i32, i32* %2
%15 = icmp eq i32 %14, 11
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %75
18: ; preds = %13
%19 = load i32, i32* %2
%20 = icmp eq i32 %19, 21
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
br label %74
23: ; preds = %18
%24 = load i32, i32* %2
%25 = icmp eq i32 %24, 32
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
br label %73
28: ; preds = %23
%29 = load i32, i32* %2
%30 = icmp eq i32 %29, 19
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
br label %72
33: ; preds = %28
%34 = load i32, i32* %2
%35 = icmp eq i32 %34, 27
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
br label %71
38: ; preds = %33
%39 = load i32, i32* %2
%40 = icmp eq i32 %39, 31
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0))
br label %70
43: ; preds = %38
%44 = load i32, i32* %2
%45 = icmp ne i32 %44, 61
br i1 %45, label %67, label %46
46: ; preds = %43
%47 = load i32, i32* %2
%48 = icmp ne i32 %47, 71
br i1 %48, label %67, label %49
49: ; preds = %46
%50 = load i32, i32* %2
%51 = icmp ne i32 %50, 11
br i1 %51, label %67, label %52
52: ; preds = %49
%53 = load i32, i32* %2
%54 = icmp ne i32 %53, 21
br i1 %54, label %67, label %55
55: ; preds = %52
%56 = load i32, i32* %2
%57 = icmp ne i32 %56, 32
br i1 %57, label %67, label %58
58: ; preds = %55
%59 = load i32, i32* %2
%60 = icmp ne i32 %59, 19
br i1 %60, label %67, label %61
61: ; preds = %58
%62 = load i32, i32* %2
%63 = icmp ne i32 %62, 27
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load i32, i32* %2
%66 = icmp ne i32 %65, 31
br i1 %66, label %67, label %69
67: ; preds = %64, %61, %58, %55, %52, %49, %46, %43
%68 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0))
br label %69
69: ; preds = %67, %64
br label %70
70: ; preds = %69, %41
br label %71
71: ; preds = %70, %36
br label %72
72: ; preds = %71, %31
br label %73
73: ; preds = %72, %26
br label %74
74: ; preds = %73, %21
br label %75
75: ; preds = %74, %16
br label %76
76: ; preds = %75, %11
br label %77
77: ; preds = %76, %6
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@str = [19 x i8] c"DDD nao cadastrado\00"
@str.10 = [15 x i8] c"Belo Horizonte\00"
@str.11 = [8 x i8] c"Vitoria\00"
@str.12 = [9 x i8] c"Campinas\00"
@str.13 = [13 x i8] c"Juiz de Fora\00"
@str.14 = [15 x i8] c"Rio de Janeiro\00"
@str.15 = [10 x i8] c"Sao Paulo\00"
@str.16 = [9 x i8] c"Salvador\00"
@str.17 = [9 x i8] c"Brasilia\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%4 = load i32, i32* %1
switch i32 %4, label %12 [
i32 61, label %13
i32 71, label %5
i32 11, label %6
i32 21, label %7
i32 32, label %8
i32 19, label %9
i32 27, label %10
i32 31, label %11
]
5: ; preds = %0
br label %13
6: ; preds = %0
br label %13
7: ; preds = %0
br label %13
8: ; preds = %0
br label %13
9: ; preds = %0
br label %13
10: ; preds = %0
br label %13
11: ; preds = %0
br label %13
12: ; preds = %0
br label %13
13: ; preds = %0, %5, %7, %9, %11, %12, %10, %8, %6
%14 = phi i8* [ getelementptr inbounds ([9 x i8], [9 x i8]* @str.16, i64 0, i64 0), %5 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @str.14, i64 0, i64 0), %7 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @str.12, i64 0, i64 0), %9 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @str.10, i64 0, i64 0), %11 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0), %12 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @str.11, i64 0, i64 0), %10 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @str.13, i64 0, i64 0), %8 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @str.15, i64 0, i64 0), %6 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @str.17, i64 0, i64 0), %0 ]
%15 = call i32 @puts(i8* dereferenceable(1) %14)
ret i32 0
}