#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 read();
int /*<<< orphan*/ write(char *);
int MAIN() {
  int a, b, c, d, e, f, g;
  a = read();
  b = read();
  c = a + 2;
  d = b + 4;
  e = a + 1;
  f = b;
  g = c * d - 1;
  if (a || b || c && d && (e > 1) || (f > 1) && (g < 1)) {
    write("True \n");
  } else {
    write("False \n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<MAIN>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    $0x0,%al
call   1040 <read@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1040 <read@plt>
mov    %eax,-0x8(%rbp)
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x10(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0xc(%rbp),%eax
imul   -0x10(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x4(%rbp)
jne    11b0 <MAIN+0x90>
cmpl   $0x0,-0x8(%rbp)
jne    11b0 <MAIN+0x90>
cmpl   $0x0,-0xc(%rbp)
je     119c <MAIN+0x7c>
cmpl   $0x0,-0x10(%rbp)
je     119c <MAIN+0x7c>
cmpl   $0x1,-0x14(%rbp)
jg     11b0 <MAIN+0x90>
cmpl   $0x1,-0x18(%rbp)
jle    11c1 <MAIN+0xa1>
cmpl   $0x1,-0x1c(%rbp)
jge    11c1 <MAIN+0xa1>
lea    0xe49(%rip),%rdi
call   1030 <write@plt>
jmp    11cd <MAIN+0xad>
lea    0xe3f(%rip),%rdi
call   1030 <write@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MAIN>:
push   %rbx
xor    %eax,%eax
call   1040 <read@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1040 <read@plt>
lea    0xec8(%rip),%rcx
lea    0xec8(%rip),%rdi
or     %ebx,%eax
cmovne %rcx,%rdi
call   1030 <write@plt>
xor    %eax,%eax
pop    %rbx
ret

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

LLVM IR (-O2):
@.str = [7 x i8] c"True \0A\00"
@.str.1 = [8 x i8] c"False \0A\00"
define i32 @MAIN() {
%1 = tail call i32 (...) @read()
%2 = tail call i32 (...) @read()
%3 = icmp ne i32 %1, 0
%4 = icmp ne i32 %2, 0
%5 = select i1 %3, i1 true, i1 %4
%6 = select i1 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0)
%7 = tail call i32 @write(i8* %6)
ret i32 0
}