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

ans = ""
ans += S[0]

for i in range(N-1):
  if S[i] != S[i+1]:
    ans += S[i+1]
print(len(ans)) N = int(input()) N int(input()) int input() input S = str(input()) S str(input()) str input() input ans = "" ans "" ans += S[0] ans S[0] S 0 for i in range(N-1):
  if S[i] != S[i+1]:
    ans += S[i+1] i range(N-1) range N-1 N 1 if S[i] != S[i+1]:
    ans += S[i+1] S[i] != S[i+1] S[i] S i S[i+1] S i+1 i 1 ans += S[i+1] ans S[i+1] S i+1 i 1 print(len(ans)) print len(ans) len ans ans += S[i+1] S[i+1] ans N = int(input()) int(input()) N S = str(input()) str(input()) S ans = "" "" ans ans += S[0] S[0] ans
N = int(input())
S = str(input())

ans = ""
ans += S[0]

for i in range(N-1):
  if S[i] != S[i+1]:
    ans += S[i+1]
print(len(ans))