n = int(input())

s = input()
ans = [s[0]]
for i in range(1,n):
    if ans[-1] != s[i] :
        ans.append(s[i])

print(len(ans)) n = int(input()) n int(input()) int input() input s = input() s input() input ans = [s[0]] ans [s[0]] s[0] s 0 for i in range(1,n):
    if ans[-1] != s[i] :
        ans.append(s[i]) i range(1,n) range 1 n if ans[-1] != s[i] :
        ans.append(s[i]) ans[-1] != s[i] ans[-1] ans -1 s[i] s i ans.append(s[i]) ans.append ans append s[i] s i print(len(ans)) print len(ans) len ans s = input() input() s n = int(input()) int(input()) n ans = [s[0]] [s[0]] ans
n = int(input())

s = input()
ans = [s[0]]
for i in range(1,n):
    if ans[-1] != s[i] :
        ans.append(s[i])

print(len(ans))
