a=gets.chomp b=a.chars.tally.key(2) c=[*?a..?z] puts [(c.tally.to_a - a.chars.tally.to_a).to_h.keys - [b],b].join("to")