open System let B = Console.ReadLine().Split() |> Array.map(int) |> Set.ofArray B |> Set.difference ([1..10] |> Set.ofList) |> Set.iter (printfn "%i")