#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 *, char *);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ scanf(char *, char *);
int main(void) {
  int i;
  char strarray[68][40] = {'\0'};
  for (i = 0; i < 68; i++) {
    scanf("%s", strarray[i]);
  }
  for (i = 68 - 1; i >= 0; i--) {
    printf("%s ", strarray[i]);
  }
  puts("");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xab0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0xab0(%rbp),%rdi
xor    %esi,%esi
mov    $0xaa0,%edx
call   1050 <memset@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x44,-0x8(%rbp)
jge    11a2 <main+0x62>
movslq -0x8(%rbp),%rax
lea    -0xab0(%rbp),%rsi
imul   $0x28,%rax,%rax
add    %rax,%rsi
lea    0xe71(%rip),%rdi
call   1060 <scanf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    116c <main+0x2c>
movl   $0x43,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jl     11df <main+0x9f>
movslq -0x8(%rbp),%rax
lea    -0xab0(%rbp),%rsi
imul   $0x28,%rax,%rax
add    %rax,%rsi
lea    0xe37(%rip),%rdi
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    11a9 <main+0x69>
lea    0xe20(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0xab0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0xaa8,%rsp
mov    %rsp,%rdi
xor    %ebx,%ebx
mov    $0xaa0,%edx
xor    %esi,%esi
call   1050 <memset@plt>
lea    0xe9e(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    (%rsp,%rbx,1),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
add    $0x28,%rbx
cmp    $0xaa0,%rbx
jne    1170 <main+0x30>
mov    $0xa78,%ebx
lea    0xe6e(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nop
lea    (%rsp,%rbx,1),%rsi
mov    %r14,%rdi
call   1040 <printf@plt>
add    $0xffffffffffffffd8,%rbx
cmp    $0xffffffffffffffd8,%rbx
jne    11a0 <main+0x60>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0xaa8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [4 x i8] c"%s \00"
@.str.2 = [1 x i8] zeroinitializer
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [68 x [40 x i8]]
store i32 0, i32* %1
%4 = bitcast [68 x [40 x i8]]* %3 to i8*
store i32 0, i32* %2
br label %5
5: ; preds = %14, %0
%6 = load i32, i32* %2
%7 = icmp slt i32 %6, 68
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, i32* %2
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [68 x [40 x i8]], [68 x [40 x i8]]* %3, i64 0, i64 %10
%12 = getelementptr inbounds [40 x i8], [40 x i8]* %11, i64 0, i64 0
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %12)
br label %14
14: ; preds = %8
%15 = load i32, i32* %2
%16 = add nsw i32 %15, 1
store i32 %16, i32* %2
br label %5
17: ; preds = %5
store i32 67, i32* %2
br label %18
18: ; preds = %27, %17
%19 = load i32, i32* %2
%20 = icmp sge i32 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %18
%22 = load i32, i32* %2
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [68 x [40 x i8]], [68 x [40 x i8]]* %3, i64 0, i64 %23
%25 = getelementptr inbounds [40 x i8], [40 x i8]* %24, i64 0, i64 0
%26 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %25)
br label %27
27: ; preds = %21
%28 = load i32, i32* %2
%29 = add nsw i32 %28, -1
store i32 %29, i32* %2
br label %18
30: ; preds = %18
%31 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@.str.1 = [4 x i8] c"%s \00"
define i32 @main() {
%1 = alloca [68 x [40 x i8]]
%2 = getelementptr inbounds [68 x [40 x i8]], [68 x [40 x i8]]* %1, i64 0, i64 0, i64 0
br label %3
3: ; preds = %0, %3
%4 = phi i64 [ 0, %0 ], [ %7, %3 ]
%5 = getelementptr inbounds [68 x [40 x i8]], [68 x [40 x i8]]* %1, i64 0, i64 %4, i64 0
%6 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %5)
%7 = add nuw nsw i64 %4, 1
%8 = icmp eq i64 %7, 68
br i1 %8, label %9, label %3
9: ; preds = %3, %9
%10 = phi i64 [ %13, %9 ], [ 67, %3 ]
%11 = getelementptr inbounds [68 x [40 x i8]], [68 x [40 x i8]]* %1, i64 0, i64 %10, i64 0
%12 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %11)
%13 = add nsw i64 %10, -1
%14 = icmp eq i64 %10, 0
br i1 %14, label %15, label %9
15: ; preds = %9
%16 = call i32 @putchar(i32 10)
ret i32 0
}