
deepcopy을 통해 lst를 값 복사 해준 후, 복사한 tmp를 기준에 맞게 정렬하며 비교하는 문제from sys import stdin
import copy
lst = list(map(int, stdin.readline().split()))
tmp = copy.deepcopy(lst)
if lst == sorted(tmp):
print('ascending')
elif lst == sorted(tmp, reverse=True):
print('descending')
else:
print('mixed')