n=int(input());s=input();t=[i for i in range(n)if'#'