import sequtils, strutils let n = parseInt readLine stdin s = " " & readLine stdin list = (2 .. n).toSeq.filterIt(s[it.pred .. it] == "xo") t = list.len.`$` & "\n" & list.join " " echo t