2025-06-22 17:53:11 +09:00

2 lines
124 B
Python

scale = ''.join(input().split())
print("ascending" if scale=="12345678" else "descending" if scale=="87654321" else "mixed")