# week 2.1(четные)

unknown
python
2 years ago
1.5 kB
2
Indexable
Never
```task 2
a=int(input())
if a>0:
print (1)
elif a<0:
print (-1)
else:
print (0)

a=int(input())
if a==0:
print('zero')
if a==1:
print('one')
elif a==2:
print('two')
elif a==3:
print('three')
elif a==4:
print('four')
elif a==5:
print('five')
elif a==6:
print('six')
elif a==7:
print('seven')
elif a==8:
print('eight')
elif a==9:
print('nine')
a=int(input())
b=int(input())
c=int(input())
if a>b>c or a>c>b:
print(a)
elif b>a>c or b>c>a:
print(b)
else:
print(c)
x1=int(input())
y1=int(input())
x2=int(input())
y2=int(input())
if x2-x1==0 and y2-y1==0:
print('NO')
elif ( x2-x1==0 or x2-x1==1 or x2-x1==-1 ) and ( y2-y1==0 or y2-y1==1 or y2-y1==-1 ) :
print('YES')
else:
print('NO')
a=int(input())
b=int(input())
c=int(input())
if a<b and c<b:
if a > c:
print(c,a,b,sep = '\n' )
else:
print(a,c,b,sep = '\n' )
elif b<a and c<a:
if b > c:
print(c,b,a,sep = '\n' )
else:
print(b,c,a,sep = '\n' )
elif a<c and b<c:
if a > b:
print(b,a,c,sep = '\n' )
else:
print(a,b,c,sep = '\n' )
x=float(input())
y=float(input())
if (x > 0) & (y > 0):
elif (x < 0) & (y > 0):
elif (x < 0) & (y < 0):
elif (x > 0) & (y < 0):
x=float(input())
y=float(input())
r=float(input())
if x**2+y**2<=r**2:
print('YES')
else:
print('NO')

```