use proconio::input; use std::collections::HashSet; fn main() { input! { s: String, } let set: HashSet = s.chars().collect(); let ans = if set.len() == s.len() { "YES" } else { "NO" }; println!("{ans}"); }