n = int(input())
s = input()
prev = ""
ans = ""
for i in range(n):
    if s[i] == prev:
        continue
    prev = s[i]
    ans += s[i]
print(len(ans)) n = int(input()) n int(input()) int input() input s = input() s input() input prev = "" prev "" ans = "" ans "" for i in range(n):
    if s[i] == prev:
        continue
    prev = s[i]
    ans += s[i] i range(n) range n if s[i] == prev:
        continue
     s[i] == prev s[i] s i prev continue prev = s[i] prev s[i] s i ans += s[i] ans s[i] s i print(len(ans)) print len(ans) len ans s = input() input() s ans += s[i] s[i] ans n = int(input()) int(input()) n prev = s[i] s[i] prev prev = "" "" prev ans = "" "" ans
n = int(input())
s = input()
prev = ""
ans = ""
for i in range(n):
    if s[i] == prev:
        continue
    prev = s[i]
    ans += s[i]
print(len(ans))