Problem:


Score : 100 points

Problem Statement

There are three houses on a number line: House 1, 2 and 3, with coordinates A, B and C, respectively.
Print Yes if we pass the coordinate of House 3 on the straight way from House 1 to House 2 without making a detour, and print No otherwise.

Constraints

0\leq A,B,C\leq 100

A, B and C are distinct integers.

Input

Input is given from Standard Input in the following format:

A B C

Output

Print Yes if we pass the coordinate of House 3 on the straight way from House 1 to House 2 without making a detour, and print No otherwise.

Sample Input 1

3 8 5

Sample Output 1

Yes

We pass the coordinate 5 on the straight way from the house at coordinate 3 to the house at coordinate 8.

Sample Input 2

7 3 1

Sample Output 2

No

Sample Input 3

10 2 4

Sample Output 3

Yes

Sample Input 4

31 41 59

Sample Output 4

No



Sample input:
3 8 5


Sample output:
Yes

Submission status: Runtime Error

Solution code:
a,b,c = list(map(int,input().split()))

if b-c > 0 && c-a > 0:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
a,b,c = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
n=int(input())
s=input()
p=[]
m=0
x=s.count("#.")
c=s.count("#.")
while x>0:
    x=s.count("#.")
    s=s.replace("#.","..",x)
    m+=x
    p.append(m)
p.append(c)
print(min(p))

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input().split())
if A > C:
    print('No')
elif:
   B < C:
    print('No')
else:
   print('Yes')

Submission status: Runtime Error

Solution code:
n=int(input())
s=input()
p=[]
m=0
x=s.count("#.")
c=s.count("#.")
while x>0:
    x=s.count("#.")
    s=s.replace("#.","..",x)
    m+=x
    if x==0:
        p.append(m)
p.append(c)
print(min(p))

Submission status: Runtime Error

Solution code:
a = int(input())
strings = input()
num = int(input())
target = strings[num - 1]
for i in range(a):
    if target != strings[i]:
        strings = strings[:i] + "*" + strings[i + 1:]
print(strings)

Submission status: Runtime Error

Solution code:
a = input().split(' ')
h1 = int(a[0])
h2 = int(a[1])
h3 = int(a[2])
 
if h1 < h3 && h3 < h2:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
a = int(input())
b = input()
c = int(input())
d = b[k-1]
new = [e for e in b if e != d]
while(len(new)>i):
  f = new[i]
  b[f] = '*'
  i = i+1
print(b)

Submission status: Runtime Error

Solution code:
n=int(input())
s=list(input())

b2=0
h2=0
for i in range(len(s)-1,-1,-1):
    if s[i]=="#" and h2!=0:
        b2+=1
    if s[i]==".":
        h2+=1
print(b2)

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
s = list(s)
t = s
cnt = 0
for i in range(n-2):
  if s[i] == '.' and s[i+1] == '#' and s[i+2] == '.':
    s[i+1] = '.'
    cnt+=1

for i in range(n-1):
  if s[i] == '#' and s[i+1] == '.':
    s[i+1] = '#'
    cnt+=1

print(cnt)

Submission status: Runtime Error

Solution code:
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')

Submission status: Runtime Error

Solution code:
n=int(input())
s=list(input())
k=int(input())
s_k=s[k-1]
for i in range(n):
  if s[i]!=s_k:
    s[i]="*"
print("".join(s))

Submission status: Runtime Error

Solution code:
n=2
string_list=[input() for i in range(n)]
c=0
new=''
a=0
b=0
f=0
for stone in string_list[1]:
    if stone=='.' and c==0:
        continue
    elif stone=='#':
        c+=1
        a+=1
        f+=1
    elif stone=='.':
        b+=1
        f=0

if b>=(a-f):
    print(a-f)
else:
    print(b)

Submission status: Runtime Error

Solution code:
from itertools import accumulate

input()
l = [0] + list(accumulate(c == '.' for c in input()))
print(min(i - x + l[-1] - x for i, x in enumerate(l)))

Submission status: Runtime Error

Solution code:
N = int(input())
S = lisr(input())
cnt = 0
for i in range(1, N):
    if S[i-1] == "#" and S[i] == ".":
        cnt += 1
print(cnt)

Submission status: Runtime Error

Solution code:
n = int(input())
s = list(str(input()))
a = 0
b = 0
for i in range(n):
  if s[i] == ".":
    a += 1
  else:
    break
for i in range(n):
  if s[-i-1] =="#":
    b += 1
  else:
    break
sb = s.count("#")
sw = s.count(".")
if sb-b>sw-a:
  print(sw-a)
else:
  print(sb-b)

Submission status: Runtime Error

Solution code:
N = int(input())
S = input()
S = list(S)
S2 = list(S)
ans = 0
i=0
while i < N-1:
    idx = i
    if S[i] == '#' and S[i+1] == '.':
        ans += 1
        
        i += 1
        
        for j in range(1,N):
            if idx -j < 0 or idx + 1 + j > N-1 : break

            if S[idx-j] == '#' and S[idx+1+j] == '.':
                
                ans += 1
                i += 1
            else:
                break
    i += 1

print(ans)

Submission status: Runtime Error

Solution code:
#N=3
#s=".######."
#s=[s[i] for i in range(len(s))]
N=input()
s=input()
s=[s[i] for i in range(len(s))]
hit1=0
count1=0
for i in s:
    if i=="#":
        hit1 = 1
    if i==".":
        count1=count1+hit1
count2=0
hit2=0
for i in range(len(s)):
    if s[-1-i]==".":
        hit2 = 1
    if s[-1-i]=="#":
        count2=count2+hit2
        
print(min(count1,count2))

Submission status: Runtime Error

Solution code:
#N=3
#s=".######."
#s=[s[i] for i in range(len(s))]
N=input()
s=input()
s=[s[i] for i in range(len(s))]
hit1=0
count1=0
for i in s:
    if i=="#":
        hit1 = 1
    if i==".":
        count1=count1+hit1
count2=0
hit2=0
for i in range(len(s)):
    if s[-1-i]==".":
        hit2 = 1
    if s[-1-i]=="#":
        count2=count2+hit
        
print(min(count1,count2))

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline


n = int(input())
s = input()
s = list(s)
# print(s)



pre = s[0]
for i in range(1, n):
    if pre=='#' and s[i]=='.':
        temp = i
        break
    pre = s[i]


# print(temp)
try:
    s = s[temp:]
    ans = sum(1 for x in s if x=='.')
    ans2 = sum(1 for x in s if x=='#') + 1
    if s[-1]=='#':
        ans -=1
        ans2 -=1

    print(min(ans, ans2))
except:
    print(0)

Submission status: Runtime Error

Solution code:
N = int(input())
S = input()

a = 0
for i in range(N):
  if S[i] == '.':
    a += 1

print(min(a, N-a))

Submission status: Runtime Error

Solution code:
import re
N = int(input())
S = input()

pattern = re.compile(r"#.")
s, count = re.subn(pattern, "##", S)
print(count)

Submission status: Runtime Error

Solution code:
if inputs[0] <= inputs[2] and inputs[2] <= inputs[1]:
    print("Yes")
elif inputs[0] >= inputs[2] and inputs[2] >= inputs[1]:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
s='Yes'
z=0

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

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

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

Submission status: Runtime Error

Solution code:
s = input()
if abs(c-a) > abs(b-a):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
x = sum(1 if s[i] != "#" else 0 for i in range(n))
y = sum(0 if s[i] != "#" else 1 for i in range(n))
print(min(x, y))

Submission status: Runtime Error

Solution code:
[a, b, c] = list(map(int, input().split(' ')))

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

Submission status: Runtime Error

Solution code:
N=int(input())
S=input()

ans = 100000
flag=False
cad = S.count('.')
cah = S.count('#')
for i,s in enumerate(S):
  if(i==0):
    last_s = s
    continue
  else:
    if last_s == "." and s == "#":
      flag=True
      cld = S[:i].count('.')
      clh = S[:i].count('#')
      ans=min(ans, min(cld,clh)+min(cad-crd,cah-crh))

    last_s = s

if(not flag): print(0)
else: print(ans)

Submission status: Runtime Error

Solution code:
#C - Stones
#黒い石のすぐ右に白い石があるような箇所がないようにしたいです。 

n = int(input())
state = input()
state_list = list(state)
prob_num = 0
state_list.append(" ")
for i in range(n):
	if state_list[i] == "#" and state_list[i+1] == ".":
		prob_num += 1

print(prob_num)

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
if c>a:
    if b>c:
        print("Yes")
        else:
            print("No")
else:
    print("No")

Submission status: Runtime Error

Solution code:
N = int(input())
S = input()

a = 0
b = 0

for i in range(N):
  if S[i] == '.':
    a += 1
  else:
    b += 1

print(min(a, b))

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
k = int(input())
s_list = list(s) 
for i in range(0 , n) :
    if s_list[i] == s_list[k] :
        s_list[i] = "*"
print(s_list)

Submission status: Runtime Error

Solution code:
N = int(input())
S=input()
cnt1 = 0
cnt2 = 0
for idx,s in enumerate(S):
    print(idx)
    if s != "." and idx != N-1:
        cnt1 += 1
    if s!="#":
        cnt2+=1
print(min([cnt1,cnt2]))

Submission status: Runtime Error

Solution code:
N = int(input())
S = input()
 
le=N
 
ans = 0
for i in range(le-1):
  if S[i]=="#" and S[i+1]==".":
    ans += 1
    S = S[:i+1] + "#" + S[i+2:]
  
if 2*ans < N:
  print(ans)
 
else:
  print(le-ans)

Submission status: Runtime Error

Solution code:
a,b,c =map(int,input().split()) 

If (a < c < b) or (b < c< a)
   print("yes")
else
   print("No")

Submission status: Runtime Error

Solution code:
a=input(int())
b=input(int())
c=input(int())
if a>c>b or b>c>a:
    print("Yes")
else:print("No")

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input.split())

if a > b:
  for i in range(a, b):
    if i == c:
      print('Yes')
      break
  print('No')
else:
  for i in range(b, a):
    if i == c:
      print('Yes')
      break
  print('No')

Submission status: Runtime Error

Solution code:
n = input()
s = list(input())

ans = 0

for i in range(len(s)-1):
	if(s[i] == "#" and s[i+1] == "."):
		if(i == 0):
			s[i] = "."
		elif(i > 0 and s[i-1] != "#"):
			s[i] = "."
		else:
			s[i+1] = "#"
		ans += 1

print(ans)

Submission status: Runtime Error

Solution code:
    import numpy as np
    huga = list(map(int, input().split()))
    a=huga[0]
    b=huga[1]
    c=huga[2]
    if a>b:
      x=a
      a=b
      b=x
      
     
    if a<c and b>c:
      print("Yes")
    else:
      print("No")

Submission status: Runtime Error

Solution code:
    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")

Submission status: Runtime Error

Solution code:
N = int(input())
S = list(input())

count_1 = 0
count_2 = 0
for i in range(N-1):
  if S[i] == "#" and S[i+1] == ".":
    count_1 += 1
for i in range(N-1):
  if S[N - i - 1] == "." and S[N - i - 2] == "#":
    count_2 += 1
    
print(min(count_1, count_2))

Submission status: Runtime Error

Solution code:
n = int(input())
s = str(input())
k = int(input())

char = s[k-1]
result = ""
for x in s:
    if x == char:
        result += char
    else:
        result += "*"
print(result)

Submission status: Runtime Error

Solution code:
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
N = int(input())
S = list(input())
K = int(input())
a = S[K-1]
ans = []
for k in S:
    if k != a:
        ans.append("*")
    else:
        ans.append(k)

answer = "".join(ans)
print(answer)

Submission status: Runtime Error

Solution code:
a, b , c = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
a = int(input())
mozi = input()
b = int(input())

test = mozi[b]

ans = ""

for i in mozi:
    if i == test:

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
k = int(input())
t = list(s)
u = ""
for i in range(s):
    if t[i]!=t[k-1]:
        t[i]="*"
for j in range(n):
    u = t[j]+u
print(u)

Submission status: Runtime Error

Solution code:
N= int(input())
Sl = input()
K= int(input())
S=list(Sl)

for i in range(N):
 if S[i] != S[K-1]:
   S[i] = '*'
Snew = "".join(S)
print(Snew)

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())
C=int(input())
if (A<C and C<B) or (A>C and C>B):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input().split())
If A<B<C:
  Print(‘Yes’)
Elif C<B<A:
 Print(‘Yes’)
Else:
  Print(‘No’)

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()

ans = 0
for i in range(n-2):
    if s[i]+s[i+1] == "#.":
        if s[i+2] == "#":
            s.replace(s[i+1],"#")
            ans += 1
        if s[i+2] == ".":
            s.replace(s[i+1],".")
            ans += 1
if s[-2]+s[-1] == "#.":
    s.replace(s[i+1],"#")
    ans += 1
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
a = 0
f = 0
for i in range(n-1):
    if s[i] == '#' and s[i + 1] =='.':
        a += 1
        f = 1
    if s[i] == '.' and s[i + 1] == '.' and f == 1:
        a += 1
    if s[i] == '.' and s[i + 1] == '#':
        f = 0
print(a)

Submission status: Runtime Error

Solution code:
A,B,C = map(int,input().split())
if A<C & C<B:
	print("yes")
else:
  if A>C & C>B:
    print("yes")
  else:
	print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N=int(input())
S=input()
K=int(input())

for i in range(N):
 if S[i]  != S[K-1]:
  ass = '*'
  S[i] = ass
print(S)

Submission status: Runtime Error

Solution code:
n=int(input())
s=input()
k=int(input())
key=s[k-1]
ans=""
for i in range(len(s)):
  if s[i]==key:
    ans+=key
  else:
    ans+="*"
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input.split())

def max(a,b):
    if a > b:
        return a
    else:
        return b

def min(a,b):
    if a < b :
        return a
    else:
        return b

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

Submission status: Runtime Error

Solution code:
n = int(input())
s = input()
k = int(input())
sa = s[k: k + 1]
sl = len(s)
sli = list(s)
hey = []
for sli in sli:
    if sli == sa:
        hey.append(sli)
    else:
        hey.append("*")
hey = "".join(hey)
print(hey)

Submission status: Runtime Error

Solution code:
N = int(input())
S = [i for i in input()]
for i in range(N):
    if(S[i]=='#'):
        break
s = S[i:]
a = s.count('.')
print(min(a,len(s)-a))

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input(),split())
if a>c>b:
print("Yes")
elif b>c>a:
print("Yes")
else:
print("No")

Submission status: Runtime Error

Solution code:
a =[]

a=int(imput()).split

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

Submission status: Runtime Error

Solution code:
ia, ib, ic = map(int, input().split())
if ia >= ib and ic >= ib:
    print("Yes")
    exit()
    
if ia <= ib and ic <= ib
    print("Yes")
    exit()
else:
    print("No")

Submission status: Runtime Error

Solution code:
N = int(input())
S = list(str(input()))
K = int(input())

SK = str(S[K])
for i in range(0,N):
    if S[i] == SK:
        pass
    else:
        S[i] = '*'
print(S, end="")

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-


from sys import stdin



############################################


# read data for n sequences.
n = stdin.readline().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])
#data = [int(stdin.readline().rstrip()) for _ in range(n)]

out = int(b / a)

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

Submission status: Runtime Error

Solution code:
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')

Submission status: Runtime Error

Solution code:
l = [int(i) for i in input().split(' ')]
if (l[0] < l[2]) && ((l[1] > l[2]):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
A, B, C = map(int, raw_input().split())
if A<B:
if B<C:
print("No")
else:
print("Yes")

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

Submission status: Runtime Error

Solution code:
data = input()
split = data.split(' ')
a = int(split[0])
b = int(split[1])
c = int(split[2])
if c < a:
    a, b = b, a
for i in range(a, b):
    if i == c:
        judge = 'Yes'
        break
    else:
        judge = 'No'

print(judge)

Submission status: Runtime Error

Solution code:
a=input(int())
b=input(int())
c=input(int())
if a>c or b>c:
    print("Yes")
else:print("No")

Submission status: Runtime Error

Solution code:
def Ways(a,b,c):
    if c>=a and c<=b:
        return 'Yes'
    else:
        return 'No'

a,b,c = map(int, input().split())
print(Ways(a,b,c)))

Submission status: Runtime Error

Solution code:
A = int (input ())
B = int (input ())
C = int (input ())

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

elif C > A and C < B:
    print ("Yes")

else:
    print ("No")

Submission status: Runtime Error

Solution code:
A, B, C = (int(i) for i in input().split()) 
if (A < C and C < B) or (B < C and C < A):
  print("Yes")
else:
print("No")

Submission status: Runtime Error

Solution code:
n=int(input())
s=input()
k=int(input())
c=s[k-1]
sl=list(s)
for i in range(n):
	if sl[i] != c:
		sl[i] = '*'

print("".join(sl))

Submission status: Runtime Error

Solution code:
import numpy as np
huga = list(map(int, input().split()))
a=huga[0]
b=huga[1]
c=huga[2]
if a>b:
  a=x
  b=a
  a=x

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

Submission status: Runtime Error

Solution code:
7 3 1

Submission status: Runtime Error

Solution code:
A,B,C=[int(imput()) for i in range(3)]

if (A < B < C) or (C < B < A):
    print(“No”)
else:
    print(“Yes”)

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())
C=int(input())
if (A<C and C<B) or (A>C and C>B):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

a=int(input())
b=int(input())
c=int(input())

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

Submission status: Runtime Error

Solution code:
c = map(int,input().split())
if c[0] < c[2] and c[2] < c[1]:
  print('Yes')
  exit()
if c[0] > c[2] and c[2] > c[1]:
  print('Yes')
  exit()
print('No')

Submission status: Runtime Error

Solution code:
a,b,c＝map(int,input().split())
if a＜b and b＜c:
   print("Yes")
elif c＜b and b＜a:
   print("Yes")
else:
   print("No")

Submission status: Runtime Error

Solution code:
import sys
a = []
for l in sys.stdin:
    a.append(l)

zahyou = [int(x) for x in a.split()]

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

Submission status: Runtime Error

Solution code:
a,b,c = list(map(int, input().split()))
print("Yes" if a > c > b || b > c > a else "No")

Submission status: Runtime Error

Solution code:
a = input().split(" ")
h1 = int(a[0])
h2 = int(a[1])
h3 = int(a[2])

if h1 <= h3 && h3 <= h2:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
import sys

def main(argv):
    A = int(argv[0])
    B = int(argv[1])
    C = int(argv[2])
    print(judge(A, B, C))

def judge(A, B, C):
    if (A < C and A < B) or (C < A and B < A):
        return 'Yes'
    else:
        return 'No'

if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Runtime Error

Solution code:
abc=list(map(int,input().split()))
if max(abc)=abc[2]:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())

d = [a,b]
d.sort()

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

Submission status: Runtime Error

Solution code:
n = int(input())
s = list(input())
k = int(input())
d = s[k - 1]
for i in range(n):
    if s[i] != d:
        s[i] = '*'
print(''.join(s))

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input().split())
if C => A and C <= B:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=input()

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

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
if a<c<b or c<b<a:
print("Yes")
else:
print("No")

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
ab = int(b / a)
if a < c < b or b < c < a:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input())
if b>c:
    print("Yes")
else:print("No")

Submission status: Runtime Error

Solution code:
A, B, C = (int(i) for i in input().split())

if((A<C) and (C<B)):
    print("Yes")
elif((B<C) and (C<A)):
    print("Yes")
else:
    print("No")
A, B, C = (int(i) for i in input().split())

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

Submission status: Runtime Error

Solution code:
a = [int(x) for x in input().split()]
if a[0] >= a[1]:
  if a[0] >= a[2] and a[2] >= a[1]:
    print(Yes)
  else:
    print(No)
else:
  if a[1] >= a[2] and a[2] >= a[0]:
    print("Yes")
  else:
    print("No")

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input())
if a<c and c<b:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())

if N == 1:
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    print(int(A+B))

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input().split())
if (A < C and C < B) or (B < C and C < A):
  print('Yes')
else:
  prnt('No')

Submission status: Runtime Error

Solution code:
a = input()
b = input()
c = input()

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

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input())
if a<c<b:
  print("Yes")
else:
  print("No")