n=int(input()) L=str(input()) ans=[] for i in range(1,n): if L[i-1]=="x" and L[i]=="o": ans.append(i+1) print(*ans)