while 1:print(*[i+1for i,c in enumerate(input())if'@'