N = int(input()) S = input().strip() res = [] for i in range(1, N): if S[i] == "x" and S[i + 1] == "o": res.append(i + 1) print(*res)