
N = int(input())
S = input()

ans = []
a = ""
for i, s in enumerate(S):
    if a != S[i]:
        ans.append(S[i])
        a = S[i]

print(len(ans)) N = int(input()) N int(input()) int input() input S = input() S input() input ans = [] ans [] a = "" a "" for i, s in enumerate(S):
    if a != S[i]:
        ans.append(S[i])
        a = S[i] i s enumerate(S) enumerate S if a != S[i]:
        ans.append(S[i])
        a = S[i] a != S[i] a S[i] S i ans.append(S[i]) ans.append ans append S[i] S i a = S[i] a S[i] S i print(len(ans)) print len(ans) len ans S = input() input() S a = "" "" a a = S[i] S[i] a ans = [] [] ans N = int(input()) int(input()) N

N = int(input())
S = input()

ans = []
a = ""
for i, s in enumerate(S):
    if a != S[i]:
        ans.append(S[i])
        a = S[i]

print(len(ans))