package main import . "fmt" import . "strings" import . "sort" func main() { var s string Scan(&s) s=ReplaceAll(s,"yukicoder","-") f:=FieldsFunc(s, func(c rune) bool { return c!='-' }) Slice(f, func(i,j int)bool { return f[j]