import sysinput = sys.stdin.readlineN, M = map(int, input().split())numbers = list(map(int, input().split()))numbers.sort()result = [-1] * Mdef backTracking(depth): if depth == M: print(' '.join(map(str, result))) return temp = 0 for i in range(N): if temp != numbers[i]: temp = numbers[i] result[depth] = numbers[i] backTracking(d..