N = int(input())
S = list(input())
ans = [S[0]]
for i in range(1, N):
  if S[i-1] != S[i]:
    ans.append(S[i])
print(len(ans)) N = int(input()) N int(input()) int input() input S = list(input()) S list(input()) list input() input ans = [S[0]] ans [S[0]] S[0] S 0 for i in range(1, N):
  if S[i-1] != S[i]:
    ans.append(S[i]) i range(1, N) range 1 N if S[i-1] != S[i]:
    ans.append(S[i]) S[i-1] != S[i] S[i-1] S i-1 i 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 ans = [S[0]] [S[0]] ans N = int(input()) int(input()) N S = list(input()) list(input()) S
N = int(input())
S = list(input())
ans = [S[0]]
for i in range(1, N):
  if S[i-1] != S[i]:
    ans.append(S[i])
print(len(ans))