#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 *, int *);
int main(void) {
  int n, a, b, c;
  scanf("%d\n%d %d %d", &n, &a, &b, &c);
  for (; n >= 1; n--) {
    if (n != a && n != b && n != c)
      printf("No. %d\n", n);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
lea    -0x14(%rbp),%r8
call   1040 <scanf@plt>
cmpl   $0x1,-0x8(%rbp)
jl     119b <main+0x7b>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
je     1188 <main+0x68>
mov    -0x8(%rbp),%eax
cmp    -0x10(%rbp),%eax
je     1188 <main+0x68>
mov    -0x8(%rbp),%eax
cmp    -0x14(%rbp),%eax
je     1188 <main+0x68>
mov    -0x8(%rbp),%esi
lea    0xe89(%rip),%rdi
call   1030 <printf@plt>
jmp    118d <main+0x6d>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    114b <main+0x2b>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
lea    0xed4(%rip),%rdi
mov    %rsp,%rsi
lea    0xc(%rsp),%rdx
lea    0x8(%rsp),%rcx
lea    0x4(%rsp),%r8
call   1040 <scanf@plt>
mov    (%rsp),%esi
test   %esi,%esi
jle    118c <main+0x6c>
lea    0xebb(%rip),%rbx
jmp    116d <main+0x4d>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    -0x1(%rsi),%eax
mov    %eax,(%rsp)
cmp    $0x1,%esi
mov    %eax,%esi
jle    118c <main+0x6c>
cmp    0xc(%rsp),%esi
je     1160 <main+0x40>
cmp    0x8(%rsp),%esi
je     1160 <main+0x40>
cmp    0x4(%rsp),%esi
je     1160 <main+0x40>
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    (%rsp),%esi
jmp    1160 <main+0x40>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

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

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