a = int(input("numero 1: "))
b = int(input("numero 2: "))
c = int(input("numero 3: "))

if (a>c<b and a>c<b) or (a<b>c and a>b<c) :
	print(a)
if	(b>a<c and b<c>a or b<a>c and b>c<a ):
   print(b)
if (c>a<b and c<b>a or c<b>a and c<a>b):
	print(c)