#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);
int /*<<< orphan*/ scanf(char *, int *, int *);
int main() {
  int min, max, result;
  scanf("%d %d", &min, &max);
  if (min % 2 == 0) {
    min += 1;
  }
  if (max % 2 == 0) {
    max -= 1;
  }
  for (; min < max; min += 2) {
    result = min * min;
    printf("%d ", result * min);
  }
  result = max * max;
  printf("%d\n", result * max);
  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
lea    -0xc(%rbp),%rdx
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1160 <main+0x40>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    117d <main+0x5d>
mov    -0xc(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1182 <main+0x62>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11b9 <main+0x99>
mov    -0x8(%rbp),%eax
imul   -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%esi
imul   -0x8(%rbp),%esi
lea    0xe60(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x8(%rbp)
jmp    1182 <main+0x62>
mov    -0xc(%rbp),%eax
imul   -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%esi
imul   -0xc(%rbp),%esi
lea    0xe39(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
lea    0xed4(%rip),%rdi
lea    0x8(%rsp),%rsi
lea    0xc(%rsp),%rdx
call   1040 <scanf@plt>
mov    0x8(%rsp),%eax
test   $0x1,%al
jne    114a <main+0x2a>
add    $0x1,%eax
mov    %eax,0x8(%rsp)
mov    0xc(%rsp),%ecx
test   $0x1,%cl
jne    115a <main+0x3a>
add    $0xffffffff,%ecx
mov    %ecx,0xc(%rsp)
cmp    %ecx,%eax
jge    1193 <main+0x73>
lea    0xea1(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
mov    %eax,%esi
imul   %eax,%esi
imul   %eax,%esi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    0x8(%rsp),%eax
add    $0x2,%eax
mov    %eax,0x8(%rsp)
mov    0xc(%rsp),%ecx
cmp    %ecx,%eax
jl     1170 <main+0x50>
mov    %ecx,%esi
imul   %ecx,%esi
imul   %ecx,%esi
lea    0xe68(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [6 x i8] c"%d %d\00"
@.str.1 = [4 x i8] c"%d \00"
@.str.2 = [4 x i8] c"%d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
%5 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %2, i32* %3)
%6 = load i32, i32* %2
%7 = srem i32 %6, 2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load i32, i32* %2
%11 = add nsw i32 %10, 1
store i32 %11, i32* %2
br label %12
12: ; preds = %9, %0
%13 = load i32, i32* %3
%14 = srem i32 %13, 2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, i32* %3
%18 = sub nsw i32 %17, 1
store i32 %18, i32* %3
br label %19
19: ; preds = %16, %12
br label %20
20: ; preds = %32, %19
%21 = load i32, i32* %2
%22 = load i32, i32* %3
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = load i32, i32* %2
%26 = load i32, i32* %2
%27 = mul nsw i32 %25, %26
store i32 %27, i32* %4
%28 = load i32, i32* %4
%29 = load i32, i32* %2
%30 = mul nsw i32 %28, %29
%31 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %30)
br label %32
32: ; preds = %24
%33 = load i32, i32* %2
%34 = add nsw i32 %33, 2
store i32 %34, i32* %2
br label %20
35: ; preds = %20
%36 = load i32, i32* %3
%37 = load i32, i32* %3
%38 = mul nsw i32 %36, %37
store i32 %38, i32* %4
%39 = load i32, i32* %4
%40 = load i32, i32* %3
%41 = mul nsw i32 %39, %40
%42 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %41)
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"%d %d\00"
@.str.1 = [4 x i8] c"%d \00"
@.str.2 = [4 x i8] c"%d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2)
%6 = load i32, i32* %1
%7 = and i32 %6, 1
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = add nuw nsw i32 %6, 1
store i32 %10, i32* %1
br label %11
11: ; preds = %9, %0
%12 = phi i32 [ %10, %9 ], [ %6, %0 ]
%13 = load i32, i32* %2
%14 = and i32 %13, 1
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = add nsw i32 %13, -1
store i32 %17, i32* %2
br label %18
18: ; preds = %16, %11
%19 = phi i32 [ %17, %16 ], [ %13, %11 ]
%20 = icmp slt i32 %12, %19
br i1 %20, label %21, label %30
21: ; preds = %18, %21
%22 = phi i32 [ %27, %21 ], [ %12, %18 ]
%23 = mul nsw i32 %22, %22
%24 = mul nsw i32 %23, %22
%25 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %24)
%26 = load i32, i32* %1
%27 = add nsw i32 %26, 2
store i32 %27, i32* %1
%28 = load i32, i32* %2
%29 = icmp slt i32 %27, %28
br i1 %29, label %21, label %30
30: ; preds = %21, %18
%31 = phi i32 [ %19, %18 ], [ %28, %21 ]
%32 = mul nsw i32 %31, %31
%33 = mul nsw i32 %32, %31
%34 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %33)
ret i32 0
}