N = int(input())
S = input()
A = ['']
for i in S:
    if i != A[-1]:
        A.append(i)
print(len(''.join(A))) N = int(input()) N int(input()) int input() input S = input() S input() input A = [''] A [''] '' for i in S:
    if i != A[-1]:
        A.append(i) i S if i != A[-1]:
        A.append(i) i != A[-1] i A[-1] A -1 A.append(i) A.append A append i print(len(''.join(A))) print len(''.join(A)) len ''.join(A) ''.join '' join A A = [''] [''] A N = int(input()) int(input()) N S = input() input() S
N = int(input())
S = input()
A = ['']
for i in S:
    if i != A[-1]:
        A.append(i)
print(len(''.join(A)))