ZhenlongDai/ACPR huggingface dataset:
Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = input()
d = len(n)

s = 0
for i in range(1, d):
    s += 9 * 10 ** (i - 1) if i % 2 else 0
s += int(n) - 10 ** (d - 1) if d % 2 else int(0)

print(s)

Failing test case input:
215

Expected output:
125


Actual output:
124


Fixed submission (verdict: Accepted):
n = input()
d = len(n)

s = 0
for i in range(1, d):
    s += 9 * 10 ** (i - 1) if i % 2 else 0
s += int(n) - 10 ** (d - 1) + 1 if d % 2 else 0

print(s)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = int(input())

tmp = s
g = 0
output = 0
for i in range(tmp):
    i = i + 1
    if int(len(str(i)))%2 == 0:
        g=1
    else:
        output = output + 1
    print(i)
        
print(output)
    

Failing test case input:
215

Expected output:
125


Actual output:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
125


Fixed submission (verdict: Accepted):
s = int(input())

g = 0
output = 0
for i in range(s):
    i = i + 1
    if int(len(str(i)))%2 == 0:
        g=1
    else:
        output = output + 1

        
print(output)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
num = 0
print(len(str(n)))
for i in range(n):
  if len(str(i))%2 == 1:
    num += 1
print(num)

Failing test case input:
289

Expected output:
199


Actual output:
3
199


Fixed submission (verdict: Accepted):
n = int(input())
num = 0
for i in range(n):
  if len(str(i+1))%2 == 1:
    num += 1
print(num)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
ans = 0
for i in range(0,n+1):
    if len(str(i))%2 ==1:
        ans+=1
print(ans)

Failing test case input:
215

Expected output:
125


Actual output:
126


Fixed submission (verdict: Accepted):
n = int(input())
ans = 0
for i in range(1,n+1):
    if len(str(i))%2 ==1:
        ans+=1
print(ans)
Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = input()
keta = len(n)
n = int(n)

if keta == 1:
    print(n)
elif keta == 2:
    print(9)
elif keta == 3:
    print(n - 90 + 9)
elif keta == 4:
    print(909)
elif keta == 5:
    print(n - 9000 + 900 - 90 + 9)
else:
    print(90909)

Failing test case input:
289

Expected output:
199


Actual output:
208


Fixed submission (verdict: Accepted):
n = input()
keta = len(n)
n = int(n)

if keta == 1:
    print(n)
elif keta == 2:
    print(9)
elif keta == 3:
    print(n - 90)
elif keta == 4:
    print(909)
elif keta == 5:
    print(n - 9000  - 90 )
else:
    print(90909)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
ans = 0
if n < 10:
  ans += n
else:
  ans += 9
  if n < 1000:
    ans += max(0, n-100)
  else:
    ans += 900
    if n < 100000:
      ans += max(0, n-10000)
    else:
      ans += 90000
print(ans)


Failing test case input:
215

Expected output:
125


Actual output:
124


Fixed submission (verdict: Accepted):
n = int(input())
ans = 0
if n < 10:
  ans += n
else:
  ans += 9
  if n < 1000:
    ans += max(0, n-99)
  else:
    ans += 900
    if n < 100000:
      ans += max(0, n-9999)
    else:
      ans += 90000
print(ans)

Problem: p02952
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N = input()
count = 0
for i in range(1, int(N)):
    if len(str(i)) % 2 != 0:
        count += 1
print(count)

Failing test case input:
289

Expected output:
199


Actual output:
198


Fixed submission (verdict: Accepted):
N = int(input())
count = 0
N += 1
for i in range(1, N):
    if len(str(i)) % 2 != 0:
        count += 1
print(count)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
unchi = -1
for i in range(1,a):
    if 99999 >= a >= 10000:
        unchi += 1
    elif 999 >= a >= 100:
        unchi += 1
    elif 9 >= a >= 1:
        unchi += 1
print(unchi)


Failing test case input:
289

Expected output:
199


Actual output:
287


Fixed submission (verdict: Accepted):
a = int(input())
unchi = 0
while a>=1:
    if 99999 >= a >= 10000:
        unchi += 1
    elif 999 >= a >= 100:
        unchi += 1
    elif 9 >= a >= 1:
        unchi += 1
    a -= 1
print(unchi)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
l = len(str(N))

c = N % 10**(l - 1) + 1 if l % 2 else 0
for i in range(0, l - 1, 2):
  c += 10**i * 9
print(c)

Failing test case input:
215

Expected output:
125


Actual output:
25


Fixed submission (verdict: Accepted):
N = int(input())
l = len(str(N))

c = N - 10**(l - 1) + 1 if l % 2 else 0
for i in range(0, l - 1, 2):
  c += 10**(i + 1) - 10**i
print(c)
Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
res = 0
for i in range(N):
    if i <= 9 and i >= 1:
        res += 1
    elif i <= 999 and i >= 100:
        res += 1
    elif i <= 99999 and i >= 10000:
        res += 1
print(res)

Failing test case input:
289

Expected output:
199


Actual output:
198


Fixed submission (verdict: Accepted):
N = int(input())
res = 0
for i in range(N):
    if i+1 <= 9 and i+1 >= 1:
        res += 1
    elif i+1 <= 999 and i+1 >= 100:
        res += 1
    elif i+1 <= 99999 and i+1 >= 10000:
        res += 1
print(res)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
ans = 0
for i in range(1, N + 1):
  if len(str(i)) % 2 != 1:
    ans += 1
print(ans)

Failing test case input:
289

Expected output:
199


Actual output:
90


Fixed submission (verdict: Accepted):
N = int(input())
ans = 0
for i in range(1, N + 1):
  if len(str(i)) % 2 == 1:
    ans += 1
print(ans)

Problem: p02952
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
for i in range(5):
    if 10**i <= n <= 10**(i+1):
        keta = i+1
        break

if keta ==1 or keta == 2:
    count = n
elif keta == 3:
    count = 9 + (n - 100)
elif keta == 4:
    count = 9 + 899
else:
    count = 9 + 899 + (n - 89999)

print(count)

Failing test case input:
289

Expected output:
199


Actual output:
198


Fixed submission (verdict: Accepted):
n = int(input())
for i in range(5):
    if n == 100000:
        keta = 6
    elif 10**i <= n < 10**(i+1):
        keta = i+1
        break

if keta ==1:
    count = n
elif keta == 2:
    count = 9
elif keta == 3:
    count = 9 + (n - 99)
elif keta == 4:
    count = 9 + 900
elif keta == 5:
    count = 9 + 900 + (n - 9999)
else:
    count = 90909

print(count)
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if a<b<c:
  print('Yes')
elif a>b>c:
  print('Yes')
else:
  print('No')

Failing test case input:
5 1 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
if a<=c<=b:
  print('Yes')
elif b<=c<=a:
  print('Yes')
else:
  print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
[a, b, c] = list(map(int, input().split(' ')))

if a  <  b and c < b:
    print("Yes")
elif c < b and b < a:
  	print("Yes")
else:
    print("No")


Failing test case input:
3 79 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
[a, b, c] = list(map(int, input().split(' ')))

if a  <  c and c < b:
    print("Yes")
elif b < c and c < a:
  	print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if b > a:
    if b > c:
        if a < c:
            print("Yes")
    else:
        print("No")
elif a > b:
    if a > c:
        if b < c:
            print("Yes")
    else:
        print("No")
else:
    print("No")


Failing test case input:
9 12 -1

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if b > a:
    if b > c and a < c:
        print("Yes")
    else:
        print("No")
elif a > b:
    if a > c and b < c:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if((a-b)*(b-c)<0):
    print("Yes")

else:
    print("No")


Failing test case input:
3 149 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if((a-c)*(b-c)<0):
    print("Yes")

else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a<b:
    if b>c:
        print("Yes")
    else:
        print("No")
else:
    if b<c:
        print("Yes")
    else:
        print("No")

Failing test case input:
5 6 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a > c > b:
    print("Yes")
else:
    if b > c > a:
        print("Yes")
    else:
        print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

args = list(map(int, input().split()))
     
if (args[0] < args[1] and args[1] < args[2]) or (args[2] < args[1] and args[1] < args[0]):
    print("yes")
else:
    print("no")

Failing test case input:
5 1 -1

Expected output:
No


Actual output:
yes


Fixed submission (verdict: Accepted):
import sys
         
args = list(map(int, input().split()))
             
if (args[0] < args[2] and args[2] < args[1]) or (args[1] < args[2] and args[2] < args[0]):
    print("Yes")
else:
    print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a<c and c>b:
  print('Yes')
else:
  print('No')

Failing test case input:
31 86 59

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a<c and b>c:
  print('Yes')
elif b<c and a>c:
  print('Yes')
else:
  print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split(" "))
if (a < c and c < b) or (a > c and c > b):
    print("yes")
else:
    print("no")


Failing test case input:
51 49 0

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split(" "))
if (a < c and c < b) or (a > c and c > b):
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
z=0

if a<b:
    if b<c:
        z=1

if a>b:
    if b>c:
        z=1

if z==1:
    print('Yes')
else:
    print('No')



Failing test case input:
9 0 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
z=0

if a<b:
    if a<c:
        if b>c:
            z=1
else:
    if a>c:
        if b<c:
            z=1

if z==1:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = [int(c) for c in input().split()]

print('No') if a < b < c or a > b > c else print('Yes')

Failing test case input:
6 10 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = [int(c) for c in input().split()]

print('Yes') if a < c < b or b < c < a else print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b,c = list(map(int, input().split()))

result = 'Yes'
t = min(a,b)
if c > t :
    print(result)
else :
    result = 'No'
    print(result)

Failing test case input:
-1 -2 3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b,c = list(map(int, input().split()))

result = 'Yes'
t = min(a,b)
u = max(a,b)
if c > t and c < u:
    print(result)
else :
    result = 'No'
    print(result)

Problem: p03067
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C = map(int,input().split())
if (A - C) * (B - C) > 0:
    print('Yes')
else:
    print('No')

Failing test case input:
48 49 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = map(int,input().split())
if (A - C) * (B - C) < 0:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())
if (A-B) * (B-C) < 0:
  print("Yes")
else:
  print("No")

Failing test case input:
39 49 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())
if (A-C) * (C-B) > 0:
  print("Yes")
else:
  print("No")
Problem: p03067
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C = list(map(int,input().split(' ')))
[A,B] = [max(A,B),min(A,B)]
if C>=A and C<=B:
	print('Yes')
else:
  	print('No')

Failing test case input:
3 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C = list(map(int,input().split(' ')))
if C>min(A,B) and C<max(A,B):
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())
if A < B < C:
  print("YES")
else:
  print("No")

Failing test case input:
3 16 5

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())
if A < C < B or B < C < A:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())

if C in list(range(A + 1, B)) if A < B else list(range(B + 1, A)):
    print("Yes")
else:
    print("No")

Failing test case input:
84 49 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

road = list(range(A + 1, B)) if A < B else list(range(B + 1, A))
if C in road:
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
abc = input().split()

a = int(abc[0])
b = int(abc[1])
c = int(abc[2])

if a < b:
    if c < b:
        print('Yes')
    else:
        print('No')
else:
    if b < c:
        print('Yes')
    else:
        print('No')



Failing test case input:
5 6 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
abc = input().split()

a = int(abc[0])
b = int(abc[1])
c = int(abc[2])

if a < c and c < b:
    print('Yes')
elif b < c and c < a:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if (a<b)&(b<c):
	print('Yes')
else:
	print('No')

Failing test case input:
-2 -1 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a=list(map(int,input().split()))
if (max(a)!=a[2])&(min(a)!=a[2]):print('Yes')
else:print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
data = input()
pos_list = list(map(int, data.split()))

if abs(pos_list[0] - pos_list[1]) > abs(pos_list[0] - pos_list[2]):
    print("Yes")
else:
    print("No")

Failing test case input:
3 79 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
data = input()
pos_list = list(map(int, data.split()))

if abs(pos_list[0] - pos_list[1]) > abs(pos_list[0] - pos_list[2]) and \
    (pos_list[0] - pos_list[1]) * (pos_list[0] - pos_list[2]) > 0:
    print("Yes")
else:
    print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B,C = map(int, input().split())

Anything= 'Yes' if A<B and B<C else 'No'
print(Anything)

Failing test case input:
31 49 59

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B,C = map(int, input().split())

Anything= 'Yes' if (A<C and C<B) or (B<C and C<A) else 'No'
print(Anything)

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    A, B, C = map(int, input().split())
    N1 = abs(A - B)
    N2 = abs(C)
    if N2 < N1:
        print("No")
    else:
        print("Yes")
main()


Failing test case input:
48 49 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
def main():
    A, B, C = map(int, input().split())
    if C < min(A, B) or max(A, B) < C:
        print("No")
    else:
        print("Yes")
main()

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a<=c<=b or b<=c<=a:
    print("Yas")
else:
    print("No")

Failing test case input:
31 61 59

Expected output:
Yes


Actual output:
Yas


Fixed submission (verdict: Accepted):
a,b,c= map(int, input().split())

if a <= c <= b or b <= c <= a:
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a < c < b or b < c < a:
    print('No')
else:
    print('Yes')


Failing test case input:
-1 -2 3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a < c < b or b < c < a:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())
if B - A >= A:
    print('Yes')
else:
   print('No')

Failing test case input:
-4 -1 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())
if A < C < B:
    print('Yes')
elif B < C < A:
    print('Yes')
else:
   print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a < b and c < b:
    print("Yes")
else:
    print("No")

Failing test case input:
48 49 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a < c < b or b < c < a:
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a < b and c < b:
  print("Yes")
else:
  print("No")

Failing test case input:
5 6 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if (a < c and c < b) or (a > c and c > b):
  print("Yes")
else:
  print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

def lcm(x, y):
    return (x * y) 

if __name__ == '__main__':
    a = [int(i) for i in input().split()]

    if (a[0] < a[1] and a[0]<a[2] and a[2] <a[1]) or (a[0] > a[1] and a[0]>a[2] and a[2] >a[1]):
        print("Yes")
    else:
        print("no")


Failing test case input:
9 1 -1

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

def lcm(x, y):
    return (x * y) 

if __name__ == '__main__':
    a = [int(i) for i in input().split()]

    if (a[0] < a[1] and a[0]<a[2] and a[2] <a[1]) or (a[0] > a[1] and a[0]>a[2] and a[2] >a[1]):
        print("Yes")
    else:
        print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ABC = input()
list_ABC=list(ABC)
A = list_ABC[1]
B = list_ABC[2]
C = list_ABC[3]

if A < C and C < B:
    print('Yes')
elif B < C and C < A:
    print('Yes')
else:
    print('No')

Failing test case input:
39 49 59

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
ABC = input().split()
list_ABC = list(ABC)
A = int(list_ABC[0])
B = int(list_ABC[1])
C = int(list_ABC[2])
 
if A < C and C < B:
    print('Yes')
elif B < C and C < A:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())

if a<b<c or a>b>c:
  print("Yes")
else:
  print("No")

Failing test case input:
9 0 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())

if a<c<b or a>c>b:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = list(map(int, input().split()))

if l[0] < l[2]:
 print('No')
elif l[2] < l[0]:
 print('No')
else:
 print('Yes')

Failing test case input:
31 61 51

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
l = list(map(int, input().split()))
 
if l[0] < l[2] and l[1] < l[2]:
 print('No')
elif l[2] < l[0] and l[2] < l[1]:
 print('No')
else:
 print('Yes')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
*s, t = map(int, input().split())
s.sort()
for i in range(s[0],s[1]+1):
  if i == t:
    print("Yes")
print("No")

Failing test case input:
6 8 7

Expected output:
Yes


Actual output:
Yes
No


Fixed submission (verdict: Accepted):
*s, t = map(int, input().split())
s.sort()
f = False
for i in range(s[0],s[1]+1):
  if i == t:
    f = True
print("Yes") if f else print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if a<=b<=c:
  print('Yes')
elif b<=c<=a:
  print('Yes')
else:
  print('No')

Failing test case input:
31 41 75

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
if a<=c<=b:
  print('Yes')
elif b<=c<=a:
  print('Yes')
else:
  print('No')

Problem: p03067
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A,B,C = map(int,input().split())
if A<B<C or C<B<A:
  print("Yes")
else:
  print("No")

Failing test case input:
9 1 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())
if A<C<B or B<C<A:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z = map(int,input().split())
 
if x <= z :
    if z <= y:
        print('Yes');
elif y <= z:
    if z <= x:
        print('Yes');
else:
    print('No');


Failing test case input:
0 -4 2

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
x,y,z = map(int,input().split())
 
if x <= z :
    if z <= y:
        print('Yes');
    else:
        print('No');
elif y <= z:
    if z <= x:
        print('Yes');
    else:
        print('No');
else:
    print('No');

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
pr='Yes'
if (A-C)*(B-C)<=0:
    pr='No'
else:
    pass
print(pr)


Failing test case input:
3 79 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C=map(int,input().split())
pr='Yes'
if (A-C)*(B-C)>=0:
    pr='No'
else:
    pass
print(pr)

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())

if C in list(range(A, B)) if A < B else list(range(B, A)):
    print("Yes")
else:
    print("No")

Failing test case input:
51 49 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

road = list(range(A + 1, B)) if A < B else list(range(B + 1, A))
if C in road:
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, c, b = map(int, input().split())

if a < c:
    if a<b and b<c:
        print("No")
    else:
        print("Yes")
else:
    if c<b and b<a:
        print("No")
    else:
        print("Yes")


Failing test case input:
5 6 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a < b:
    if a<c and c<b:
        print("Yes")
    else:
        print("No")
else:
    if b<c and c<a:
        print("Yes")
    else:
        print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=list(map(int,input().split()))
if a[2]>a[1]:
    print('Yes')
elif a[2]<a[0]:
    print('Yes')
else:
    print('No')



Failing test case input:
84 49 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a=list(map(int,input().split()))
b=[]
b.append(a[0])
b.append(a[1])
b.sort()
if a[2]<=b[0]:
    print('No')
elif b[1]<=a[2]:
    print('No')
else:
    print('Yes')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a<c<b or c<b<a:
  print("Yes")
else:
  print("No")

Failing test case input:
51 49 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a<c<b or b<c<a:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r_str = input()
r_str = r_str.split()
r = [int(s) for s in r_str]
a = 'Yes'

if r[0] >= r[1]:
    if r[0] <= r[2]:
        a = 'Yes'
    else:
        a = 'No'
else:
    if r[1] <= r[2]:
        a = 'Yes'
    else:
        a = 'No'

print(a)


Failing test case input:
-4 -1 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
r_str = input()
r_str = r_str.split()
r = [int(s) for s in r_str]
a = 'Yes'
 
if r[0] <= r[1]:
    if r[0] <= r[2] and r[2] <= r[1]:
        a = 'Yes'
    else:
        a = 'No'
else:
    if r[1] <= r[2] and r[2] <= r[0]:
        a = 'Yes'
    else:
        a = 'No'
 
print(a)

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())
if(C>A):
  if(B>C):
    print("Yes")
else:
  print("No")

Failing test case input:
-2 -1 2

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())
if((C>A)and(B>C))or((A>C)and(C>B)):
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
a, b, c = [int(_) for _ in s.split()]
a, b, c = [_-a for _ in (a, b, c)]

if c * b > 0 and abs(b) < abs(c):
    print("Yes")
else:
    print("No")


Failing test case input:
31 49 59

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
s = input()
a, b, c = [int(_) for _ in s.split()]
a, b, c = [_-a for _ in (a, b, c)]

if b * c > 0 and abs(b) > abs(c):
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if b-a>=c:
  print("Yes")
  
else:
  print("No")

Failing test case input:
4 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c= map(int, input().split())

if a <= c <= b or b <= c <= a:
    print("Yes")
else:
    print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())

if A < C < B:
  print('YES')
else:
  print('NO')
  

Failing test case input:
5 5 0

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())

if A < C < B:
  print('Yes')
elif B < C < A:
  print('Yes')
else:
  print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a<=b and b<=c:
  print("Yes")
elif a>=b and b>=c:
  print("Yes")
else:
  print("No")

Failing test case input:
6 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a<=c and c<=b:
  print("Yes")
elif a>=c and c>=b:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
abc=list(map(int,input().split()))
if (max(abc)==abc[0] and min(abc)==abc[2])or(max(abc)==abc[2] and min(abc)==abc[0]):
  print("Yes")
else:
  print("No")


Failing test case input:
31 61 51

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
abc=list(map(int,input().split()))
if max(abc)==abc[0] and min(abc)==abc[1] or max(abc)==abc[1] and min(abc)==abc[0]:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())
if A < B < C or C < B < A:
  print("YES")
else:
  print("No")

Failing test case input:
3 16 5

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())
if A < C < B or B < C < A:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=(int(x) for x in input().split())
L=[A,B,C]
L.sort()
if L[2]==B:
    print('Yes')
else:
    print('No')


Failing test case input:
3 79 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C=(int(x) for x in input().split())
L=[A,B,C]
L.sort()
if L[1]==C:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())

if a < b:
    if b < c:
        print('No')
    else:
        print('Yes')
else:
    if b < c:
        print('No')
    else :
        print('Yes')


Failing test case input:
51 86 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())

if a < b:
    if a < c < b:
        print('Yes')
    else :
        print('No')
else:
    if a > c > b:
        print('Yes')
    else:
        print('No')
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = [int(elm) for elm in input().split(" ")] 

cond1 = (A <= B)
cond2 = (B <= C)

if (cond1 and cond2) or ((not cond1) and (not cond2)):
    out = "No"
else:
    out = "Yes"
print(out)

Failing test case input:
3 149 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C = [int(elm) for elm in input().split(" ")] 

cond1 = A < C < B
cond2 = B < C < A

if cond1 or cond2:
    out = "Yes"
else:
    out = "No"
print(out)

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
abc = list(map(int,input().split()))

if (abc[0] < abc[1] and abc[1] > abc[2]) or (abc[0] > abc[1] and abc[1] < abc[2]):
    print("Yes")
else:
    print("No")


Failing test case input:
0 -4 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
abc = list(map(int,input().split()))

if (abc[0] < abc[1] and abc[1] > abc[2] and abc[0] < abc[2]) or (abc[0] > abc[1] and abc[1] < abc[2] and abc[0] > abc[2]):
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print('Yes' if (a>c and b<c) or (a<c and b<c) else 'No' )

Failing test case input:
6 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print('Yes' if (a>c and b<c) or (a<c and b>c) else 'No' )

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
pr='Yes'
if (A-B)*(C-B)>=0:
    pr='No'
else:
    pass
print(pr)    


Failing test case input:
39 49 59

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C=map(int,input().split())
pr='Yes'
if (A-C)*(B-C)>=0:
    pr='No'
else:
    pass
print(pr)

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

if c == min(a,b,c):
 print('No')
elif c == min(a,b,c):
 print('No')
else:
 print('Yes')

Failing test case input:
-1 -2 3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
 
if c == min(a,b,c):
 print('No')
elif c == max(a,b,c):
 print('No')
else:
 print('Yes')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if ((a<b)&(b<c))|((a>b)&(b>c)):
  print ("Yes")
else:
  print("No")

Failing test case input:
12 3 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
if ((a<c)&(c<b))|((a>c)&(c>b)):
  print ("Yes")
else:
  print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())

if a < b:
    if b < c:
        print('No')
    else:
        print('Yes')
else:
    if b < c:
        print('Yes')
    else :
        print('No')


Failing test case input:
5 6 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())

if a < b:
    if a < c < b:
        print('Yes')
    else :
        print('No')
else:
    if a > c > b:
        print('Yes')
    else:
        print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())

print("Yes") if abs(A-C)<=abs(A-B) else print("No")


Failing test case input:
3 79 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())

print("Yes") if abs(A-C)<=abs(A-B) and (A<C<B or A>C>B) else print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a>b>c or a<b<c:
  print('Yes')
else:print('No')

Failing test case input:
6 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,c,b=map(int,input().split())
if a>b>c or a<b<c:
  print('Yes')
else:print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int, input().split()) 
if abs(a-b)> c:
  print("yes")
else:
  print("no")

Failing test case input:
9 12 -1

Expected output:
No


Actual output:
yes


Fixed submission (verdict: Accepted):
a,b,c=map(int, input().split()) 
if a > c > b:
  print("Yes")
elif a < c < b:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = input().split()

if a < b:
  if a < c and c < b:
    print("Yes")
  else:
    print("No")
else:
  if b < c and c < a:
    print("Yes")
  else:
    print("No")

Failing test case input:
3 16 5

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = [int(x) for x in input().split()] 

if a < b:
  if a < c and c < b:
    print("Yes")
  else:
    print("No")
else:
  if b < c and c < a:
    print("Yes")
  else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if a<=b<=c or c<=b<=a:
  print('Yes')
else:
  print('No')

Failing test case input:
39 69 59

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
if a<=c<=b or b<=c<=a:
  print('Yes')
else:
  print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int,open(0).read().split())
if (max(a,b) - min (a, b) > c - min(a, c)):
    print("Yes")
else:
    print("No")

Failing test case input:
0 -4 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int,open(0).read().split())
if (max(a,b) > c and c > min(a, b)):
    print("Yes")
else:
    print("No")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a >= b:
    tmp = b
    b = a
    a = tmp

if a<=c and c<=b:
    print("yes")
else:
    print("no")

Failing test case input:
6 8 7

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):

a, b, c = map(int, input().split())
if a >= b:
    tmp = b
    b = a
    a = tmp

if a<=c and c<=b:
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(['No','Yes'][b<=min(a,c) or b>=max(a,c)])

Failing test case input:
39 49 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(['No','Yes'][a<=c<=b or b<=c<=a])

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    A,B,C = [int(x) for x in input().split()]
    if A < C < B:
        print('yes')
    elif B < C < A:
        print('yes')
    else:
        print('no')

if __name__ == "__main__":
    main()
    

Failing test case input:
0 -4 2

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
def main():
    A,B,C = [int(x) for x in input().split()]
    if A < C < B:
        print('Yes')
    elif B < C < A:
        print('Yes')
    else:
        print('No')

if __name__ == "__main__":
    main()

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c= map(int,input().split())

if a<c<b | b<c<a:
    print('Yes')
else:
    print('No')


Failing test case input:
3 16 5

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c= map(int,input().split())

if a<c<b or b<c<a:
    print('Yes')
    
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

print("Yes" if b-a >=c or a-b >= c else "No")

Failing test case input:
5 6 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

print("Yes" if a <= c <= b  or b <= c <= a else "No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

y = 'No'

if a < b:
    if c > a & c < b:
        y = 'Yes'

if a > b:
    if c > b & c < a:
        y = 'Yes'

print(y)

Failing test case input:
31 49 59

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

y = 'No'

if a < b:
    if (c > a) & (c < b):
        y = 'Yes'

if a > b:
    if (c > b) & (c < a):
        y = 'Yes'

print(y)

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print("YES" if a<c<b or b<c<a else "NO")

Failing test case input:
6 10 1

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print("Yes" if a<c<b or b<c<a else "No")
Problem: p03067
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a <= b <= c or a >= b >= c:
    print('Yes')
else:
    print('No')

Failing test case input:
51 49 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a <= c <= b or a >= c >= b:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if b>c:
  print("Yes")
else:
  print("No")

Failing test case input:
3 149 1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if a <c<b or b<c<a:
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if max(a,b)>=c>=min(a,b):
  print('Yes')
else:
  print('NO')

Failing test case input:
5 1 -1

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if max(a,b)>=c>=min(a,b):
  print('Yes')
else:
  print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

if a < b < c or c < b < a:
	print('No')
else:
	print('Yes')

Failing test case input:
0 -2 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a < c < b or b < c < a:
	print('Yes')
else:
	print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int, input().split())

if A < B:
    if B >= C:
        print("Yes")
    else:
        print("No")
else:
    if B <= C:
        print("Yes")
    else:
        print("No")


Failing test case input:
0 -4 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C = map(int, input().split())

if A < B:
    if B >= C and C >= A:
        print("Yes")
    else:
        print("No")
else:
    if B <= C and C <= A:
        print("Yes")
    else:
        print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())
if A<C and B<C:
  print('Yes')
elif A>C and B>C:
  print('Yes')
else:
  print('No')

Failing test case input:
0 -4 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())
if A<C and B<C:
  print('No')
elif A>C and B>C:
  print('No')
else:
  print('Yes')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

if a>c and a<b:
  print("No")
  
elif b<c and a<b:
  print("No")
else:
  print("Yes")

Failing test case input:
0 -4 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
 
if min(a,b)>c:
  print("No")
  
elif max(a,b)<c:
  print("No")
  
else:
  print("Yes")
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):



from sys import stdin






n = stdin.readline().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])


if b > c and a < c:
    print("Yes")
elif c>a and b<c:
	print("Yes")
else:
	print("No")


Failing test case input:
0 -4 2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):



from sys import stdin







n = stdin.readline().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])


if b > c and a < c:
    print("Yes")
elif c < a and b < c:
	print("Yes")
else:
	print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = list(map(int,list(input().split())))

if l[0]<= l[2] and l[2]<= l[1]:
	print('Yes')
elif l[0] >= l[2] and l[2] <= l[1]:
	print('Yes')
else:
	print('No')

Failing test case input:
51 49 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
l = list(map(int,list(input().split())))

if l[0]<= l[2] and l[2]<= l[1]:
	print('Yes')
elif l[1] <= l[2] and l[2] <= l[0]:
	print('Yes')
else:
	print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

a, b, c = map(int, input().split())
if (a<b and b<c) or (a>b and b>c):
    print('No')
else:
    print('Yes')

Failing test case input:
-1 -2 3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

a, b, c = map(int, input().split())
if (a<c and c<b) or (a>c and c>b):
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())
ans = 'Yes' if C in range(min(A, B), abs(B-A)) else 'No'
print(ans)

Failing test case input:
6 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())
ans = ''
if A<C<B or B<C<A:
    ans = 'Yes'
else:
    ans = 'No'
print(ans)

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if (a<c and b<c) or (a>c and b<c):
  print('Yes')
else:
  print('No')

Failing test case input:
39 49 59

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if (a<c and b>c) or (a>c and b<c):
  print('Yes')
else:
  print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
if(B>=A)and(C>=B):
  print("YES")
else:
  print("NO")

Failing test case input:
31 61 51

Expected output:
Yes


Actual output:
NO


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())
if((C>A)and(B>C))or((A>C)and(C>B)):
  print("Yes")
else:
  print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print('Yes' if max(a, b) <= c <= min(a, b) else 'No')

Failing test case input:
6 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print('Yes' if min(a, b) <= c <= max(a, b) else 'No')
Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y, z = map(int, input().split())
print('Yes') if (x or y) < z and (x or y) > z else print('No')

Failing test case input:
4 8 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
x, y, z = map(int, input().split())
print('Yes') if (x - z) * (y - z) < 0 else print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a <= b <= c or c <= b <= a:
    print('No')
else:
    print('Yes')


Failing test case input:
51 86 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a < c < b or b < c < a:
    print('Yes')
else:
    print('No')

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a<c<b:
    print("Yes")
    exit()
elif b<a<c:
    print("Yes")
    exit()
else:
    print("No")


Failing test case input:
-1 -2 3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if a<c<b:
    print("Yes")
    exit()
elif b<c<a:
    print("Yes")
    exit()
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
input_str = input()
homes = input_str.split(" ")
for home in homes:
    home = int(home)
if (((homes[0] < homes[2]) and (homes[2] < homes[1])) or ((homes[0] > homes[2]) and (homes[2] > homes[1]))):
    print("Yes")
else:
    print("No")


Failing test case input:
3 16 5

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
input_str = input()
homes = input_str.split(" ")
for i, home in enumerate(homes):
    homes[i] = int(home)
if ((homes[2] - homes[1]) * (homes[2] - homes[0]) < 0):
    print("Yes")
else:
    print("No")

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z = map(int,input().split())

if x < z :
    if z < y:
        print('Yes');
elif z < y:
    if z < x:
        print('Yes');
else:
    print('No');

Failing test case input:
5 6 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
x,y,z = map(int,input().split())
 
if x <= z :
    if z <= y:
        print('Yes');
    else:
        print('No');
elif y <= z:
    if z <= x:
        print('Yes');
    else:
        print('No');
else:
    print('No');

Problem: p03067
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=(int(i) for i in input().split())
if B<=A<=C or A<=C<=B:
  print("Yes")
else:
  print("No")


Failing test case input:
-1 -2 3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A,B,C=(int(i) for i in input().split())
if B<=C<=A or A<=C<=B:
  print("Yes")
else:
  print("No")