fun main(args: Array<String>) {
    abc063b()
}

fun abc063b() {
    val s = readLine()!!.toCharArray()

    val answer = s.groupBy { it }.maxBy { it.value.size }?.value
        ?.let { if (it.size > 1) "no" else "yes" }

    println(answer)
}
