from itertools import groupby
input()
print(len(list(groupby(input())))) from itertools import groupby input() input print(len(list(groupby(input())))) print len(list(groupby(input()))) len list(groupby(input())) list groupby(input()) groupby input() input
from itertools import groupby
input()
print(len(list(groupby(input()))))