let _ =
    let p = Scanf.scanf "%d %d %d\n" (fun a b c ->
        List.sort compare [a;b;c]) in
    let f = function
        true -> print_endline "YES"
        | false -> print_endline "NO" in
    f ((List.nth p 0) == 5 && (List.nth p 1) == 5 && (List.nth p 2) == 7)


