if let input1 = readLine(), let NK = input1.split(separator: " ").compactMap({Int($0)}) as? [Int], let N = NK.first, let K = NK.last { var items: [[Int]] = [] for _ in 0..