while(0<1)println{val s=readLine s take("opst"map(s indexOf _)max)+1}