//
//  main.swift
//
//  Created by sun-yryr
//  Copyright © 2019 sun-yryr. All rights reserved.
//

import Foundation

prefix operator *
prefix func * <T> (a: [T]) -> (T, T) {return (a[0], a[1])}
prefix func * <T> (a: [T]) -> (T, T, T) {return (a[0], a[1], a[2])}


func readInt(separator s: Character = " ") -> [Int] {return readLine()!.split(separator: s).map({Int($0)!})}
func readDouble(separator s: Character = " ") -> [Double] {return readLine()!.split(separator: s).map({Double($0)!})}
func readElement(separator s: Character = " ") -> [String] {return readLine()!.split(separator: s).map({String($0)})}

extension String {
    func at(_ i: Int) -> Character {
        precondition(0 <= i && i < self.count)
        return self[self.index(self.startIndex, offsetBy: i)]
    }
}

struct Queue<T> {
    private var items = [T]()
    mutating func enqueue(_ item: T) {
        items.append(item)
    }
    mutating func dequeue() -> T {
        return items.removeFirst()
    }
    func size() -> Int {
        return items.count
    }
    func head() -> T {
        return items.last!
    }
    func first() -> T {
        return items.first!
    }

    func isEmpty() -> Bool {
        return items.isEmpty
    }
    subscript(i: Int) -> T? {
        if i<0 || items.count<=i {
            return nil
        }
        return items[i]
    }
}

func main() {
    let (N, M, K) = *readInt()
    let A = readInt()
    let B = readInt()
}
main()
