• + 0 comments

    F#

    stdin.ReadLine()
    let A = stdin.ReadLine().Split()|> Array.countBy id
    stdin.ReadLine()
    
    stdin.ReadLine().Split()|> Array.countBy id
    |> Array.except A
    |> Array.map fst
    |> Array.sort
    |> String.concat " "
    |> printfn "%s"