음계

https://www.acmicpc.net/problem/2920


풀이

입력이 1~8이면 ascending
8~1이면 descending
그외의 입력이면 mixed를 출력한다.