// -*- coding:utf-8-unix -*- #![allow(non_snake_case)] #[cfg(debug_assertions)] #[allow(unused)] macro_rules! eprintln { ($p:tt, $($x:expr),*) => { std::eprintln!($p, $($x,)*); }; } #[cfg(not(debug_assertions))] #[allow(unused)] macro_rules! eprintln { ($p:tt, $($x:expr),*) => {}; } use proconio::{fastout, input}; use proconio::marker::Bytes; #[fastout] fn main() { input!{ mut S: Bytes, } let t = "kyoprotenkei90".to_string(); let mut tenkei: Vec = t.as_bytes().into_iter().map(|&u| u).collect(); if S.len() != tenkei.len(){ println!("No"); return; } tenkei.sort(); S.sort(); // eprintln!("tenkei {:?}", tenkei); // eprintln!("S {:?}", S); for i in 0..S.len(){ if S[i] != tenkei[i]{ println!("No"); return; } } println!("Yes") }