open System
open System.Collections.Generic

let ReadOne T = stdin.ReadLine()|> T
let ReadSplit T = stdin.ReadLine().Split()|>Array.map T
[<EntryPoint>]
let main argv =
    Set[for i in [0..2] do yield stdin.Read()]
    |>fun c -> if Set.count c=3 then "Yes" else "No"
    |>stdout.WriteLine
    0
