use proconio::{input, marker}; fn main() { input! { _n: usize, mut s: marker::Bytes, } s.dedup(); println!("{}", s.len()); }