🔗링크 : https://www.acmicpc.net/problem/5639🗒️파이썬 코드 풀이import sysinput = sys.stdin.readlinesys.setrecursionlimit(10**9)lst = []while True : try: num = int(input()) lst.append(num) except: breakdef solution(tmp): if len(tmp) == 0 : return tmpL,tmpR = [],[] mid = tmp[0] for i in range(1,len(tmp)): if tmp[i] > mid: tmpL = tmp[1:..