import sysinput = sys.stdin.readlineN, M = map(int, input().split())numbers = list(map(int, input().split()))numbers.sort()visited = [False] * Nresult = [-1] * Mdef compare(a, b): if a > b: return False return Truedef backTracking(depth): if depth == M: print(' '.join(map(str, result))) return temp = 0 for i in range(N): if (depth == 0 and temp != n..