a = int(input())
s = input()
ans = ''
for i in range(a-1):
    if s[i] == s[i+1]:
        continue
    else:
        ans += s[i]
ans += s[-1]
#print(ans)
print(len(ans)) a = int(input()) a int(input()) int input() input s = input() s input() input ans = '' ans '' for i in range(a-1):
    if s[i] == s[i+1]:
        continue
    else:
        ans += s[i] i range(a-1) range a-1 a 1 if s[i] == s[i+1]:
        continue
    else:
        ans += s[i] s[i] == s[i+1] s[i] s i s[i+1] s i+1 i 1 continue ans += s[i] ans s[i] s i ans += s[-1] ans s[-1] s -1 print(len(ans)) print len(ans) len ans ans += s[i] s[i] ans ans = '' '' ans s = input() input() s a = int(input()) int(input()) a ans += s[-1] s[-1] ans
a = int(input())
s = input()
ans = ''
for i in range(a-1):
    if s[i] == s[i+1]:
        continue
    else:
        ans += s[i]
ans += s[-1]
#print(ans)
print(len(ans))