import sys
arr = list(map(int,input().split()))
asc = list(range(1,9))
desc = list(range(8,0,-1))
result = ""
if arr==asc:
result = "ascending"
elif arr==desc:
result = "descending"
else:
result = "mixed"
print(result)
'Algorithm > Softeer' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Softeer - level2] ๊ธ๊ณ ํธ์ด (0) | 2023.07.25 |
---|---|
[Softeer - level2] ์ง๋ ์๋ ๊ตฌ์ถ (0) | 2023.07.25 |
[Softeer - level3] ์ค๋งํธ ๋ฌผ๋ฅ (0) | 2023.07.24 |
[Softeer - level3] ํ๋ฐฐ ๋ง์คํฐ ๊ด์ฐ (0) | 2023.07.24 |
[Softeer - level2] [21๋ ์ฌ์ง์ ๋ํ ์์ ] ๋น๋ฐ ๋ฉ๋ด (0) | 2023.07.23 |