#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 /*<<< orphan*/ scanf(char *, char *, int *);
int main() {
  char m[4];
  int d;
  scanf("%s %d", m, &d);
  printf((m[0] == 'O' && d == 31) || (m[0] == 'D' && d == 25) ? "yup\n"
                                                              : "nope\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x8(%rbp),%rsi
lea    0xec6(%rip),%rdi
lea    -0xc(%rbp),%rdx
call   1040 <scanf@plt>
movsbl -0x8(%rbp),%eax
cmp    $0x4f,%eax
jne    115f <main+0x3f>
mov    $0x1,%al
cmpl   $0x1f,-0xc(%rbp)
mov    %al,-0xd(%rbp)
je     1181 <main+0x61>
movsbl -0x8(%rbp),%ecx
xor    %eax,%eax
cmp    $0x44,%ecx
mov    %al,-0xe(%rbp)
jne    117b <main+0x5b>
cmpl   $0x19,-0xc(%rbp)
sete   %al
mov    %al,-0xe(%rbp)
mov    -0xe(%rbp),%al
mov    %al,-0xd(%rbp)
mov    -0xd(%rbp),%cl
lea    0xe80(%rip),%rdi
lea    0xe74(%rip),%rax
test   $0x1,%cl
cmovne %rax,%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0x4(%rsp),%rsi
mov    %rsp,%rdx
call   1040 <scanf@plt>
mov    (%rsp),%eax
cmp    $0x19,%eax
lea    0xec4(%rip),%rdi
lea    0xec2(%rip),%rsi
mov    %rsi,%rdx
cmove  %rdi,%rdx
mov    0x4(%rsp),%cl
cmp    $0x44,%cl
cmovne %rsi,%rdx
cmp    $0x1f,%eax
cmovne %rdx,%rdi
cmp    $0x4f,%cl
cmovne %rdx,%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

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

LLVM IR (-O2):
@.str = [6 x i8] c"%s %d\00"
@.str.1 = [5 x i8] c"yup\0A\00"
@.str.2 = [6 x i8] c"nope\0A\00"
define i32 @main() {
%1 = alloca [4 x i8]
%2 = alloca i32
%3 = getelementptr inbounds [4 x i8], [4 x i8]* %1, i64 0, i64 0
%4 = bitcast i32* %2 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* %3, i32* %2)
%6 = load i8, i8* %3
%7 = icmp eq i8 %6, 79
%8 = load i32, i32* %2
%9 = icmp eq i32 %8, 31
%10 = select i1 %7, i1 %9, i1 false
%11 = icmp eq i8 %6, 68
%12 = icmp eq i32 %8, 25
%13 = select i1 %11, i1 %12, i1 false
%14 = select i1 %10, i1 true, i1 %13
%15 = select i1 %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0)
%16 = call i32 @printf(i8* dereferenceable(1) %15)
ret i32 0
}