val s=readLine;s.indices.map(s.drop).sorted map println