object AtCode01 extends App {
  def code(a: Int, b: Int, c: Int){
    if(a >= 5 && b >= 5 && c >= 5 && (a + b + c) == 17){
      println("YES")
    } else {
      println("NO")
    }
  }
  code(5,5,7)
}