while(0<1)println{val s=readLine s.indexOf(s.sorted)+1}