int main() {
  int num;
  scanf("%d", &num);
  char readablility[][80] = {
      "",
      "unreadable",
      "barely readable, occasional words distinguishable",
      "readable with considerable difficulty",
      "readable with practically no difficulty",
      "perfectly readable",
  };
  char strength[][80] = {
      "",
      "Faint signals, barely perceptible",
      "Very weak signals",
      "Weak signals",
      "Fair signals",
      "Fairly good signals",
      "Good signals",
      "Moderately strong signals",
      "Strong signals",
      "Extremely strong signals",
  };
  if (num > 10 && num < 60) {
    printf("%s, %s.", strength[num % 10], readablility[num / 10]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x510,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeb7(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    -0x1f0(%rbp),%rdi
lea    0xeae(%rip),%rsi
mov    $0x1e0,%edx
call   1040 <memcpy@plt>
lea    -0x510(%rbp),%rdi
lea    0x1076(%rip),%rsi
mov    $0x320,%edx
call   1040 <memcpy@plt>
cmpl   $0xa,-0x8(%rbp)
jle    11dd <main+0xad>
cmpl   $0x3c,-0x8(%rbp)
jge    11dd <main+0xad>
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
movslq %edx,%rax
lea    -0x510(%rbp),%rsi
imul   $0x50,%rax,%rax
add    %rax,%rsi
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
cltq
lea    -0x1f0(%rbp),%rdx
imul   $0x50,%rax,%rax
add    %rax,%rdx
lea    0xe2d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x510,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x518,%rsp
lea    0xec2(%rip),%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xebf(%rip),%rsi
lea    0x10(%rsp),%rdi
mov    $0x1e0,%edx
call   1040 <memcpy@plt>
lea    0x1089(%rip),%rsi
lea    0x1f0(%rsp),%rdi
mov    $0x320,%edx
call   1040 <memcpy@plt>
mov    0xc(%rsp),%eax
lea    -0xb(%rax),%ecx
cmp    $0x30,%ecx
ja     11cd <main+0x9d>
movzbl %al,%eax
imul   $0xcd,%eax,%ecx
shr    $0xb,%ecx
lea    (%rcx,%rcx,1),%edx
lea    (%rdx,%rdx,4),%edx
sub    %dl,%al
movzbl %al,%eax
lea    (%rax,%rax,4),%rax
shl    $0x4,%rax
lea    (%rsp,%rax,1),%rsi
add    $0x1f0,%rsi
lea    (%rcx,%rcx,4),%rax
shl    $0x4,%rax
lea    (%rsp,%rax,1),%rdx
add    $0x10,%rdx
lea    0xe3d(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x518,%rsp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@__const.main.readablility = [6 x [80 x i8]] [[80 x i8] zeroinitializer, [80 x i8] c"unreadable\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"barely readable, occasional words distinguishable\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"readable with considerable difficulty\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"readable with practically no difficulty\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"perfectly readable\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@__const.main.strength = [10 x [80 x i8]] [[80 x i8] zeroinitializer, [80 x i8] c"Faint signals, barely perceptible\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Very weak signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Weak signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Fair signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Fairly good signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Good signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Moderately strong signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Strong signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Extremely strong signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@.str.1 = [8 x i8] c"%s, %s.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [6 x [80 x i8]]
%4 = alloca [10 x [80 x i8]]
store i32 0, i32* %1
%5 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%6 = bitcast [6 x [80 x i8]]* %3 to i8*
%7 = bitcast [10 x [80 x i8]]* %4 to i8*
%8 = load i32, i32* %2
%9 = icmp sgt i32 %8, 10
br i1 %9, label %10, label %25
10: ; preds = %0
%11 = load i32, i32* %2
%12 = icmp slt i32 %11, 60
br i1 %12, label %13, label %25
13: ; preds = %10
%14 = load i32, i32* %2
%15 = srem i32 %14, 10
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [10 x [80 x i8]], [10 x [80 x i8]]* %4, i64 0, i64 %16
%18 = getelementptr inbounds [80 x i8], [80 x i8]* %17, i64 0, i64 0
%19 = load i32, i32* %2
%20 = sdiv i32 %19, 10
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [6 x [80 x i8]], [6 x [80 x i8]]* %3, i64 0, i64 %21
%23 = getelementptr inbounds [80 x i8], [80 x i8]* %22, i64 0, i64 0
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* %18, i8* %23)
br label %25
25: ; preds = %13, %10, %0
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@__const.main.readablility = [6 x [80 x i8]] [[80 x i8] zeroinitializer, [80 x i8] c"unreadable\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"barely readable, occasional words distinguishable\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"readable with considerable difficulty\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"readable with practically no difficulty\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"perfectly readable\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@__const.main.strength = [10 x [80 x i8]] [[80 x i8] zeroinitializer, [80 x i8] c"Faint signals, barely perceptible\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Very weak signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Weak signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Fair signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Fairly good signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Good signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Moderately strong signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Strong signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [80 x i8] c"Extremely strong signals\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@.str.1 = [8 x i8] c"%s, %s.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [6 x [80 x i8]]
%3 = alloca [10 x [80 x i8]]
%4 = bitcast i32* %1 to i8*
%5 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%6 = getelementptr inbounds [6 x [80 x i8]], [6 x [80 x i8]]* %2, i64 0, i64 0, i64 0
%7 = getelementptr inbounds [10 x [80 x i8]], [10 x [80 x i8]]* %3, i64 0, i64 0, i64 0
%8 = load i32, i32* %1
%9 = add i32 %8, -11
%10 = icmp ult i32 %9, 49
br i1 %10, label %11, label %20
11: ; preds = %0
%12 = trunc i32 %8 to i8
%13 = urem i8 %12, 10
%14 = zext i8 %13 to i64
%15 = getelementptr inbounds [10 x [80 x i8]], [10 x [80 x i8]]* %3, i64 0, i64 %14, i64 0
%16 = udiv i8 %12, 10
%17 = zext i8 %16 to i64
%18 = getelementptr inbounds [6 x [80 x i8]], [6 x [80 x i8]]* %2, i64 0, i64 %17, i64 0
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* %15, i8* %18)
br label %20
20: ; preds = %11, %0
ret i32 0
}