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

slime = S[0]

for i in range(1, N):
    if S[i] != slime[-1]:
        slime += S[i]

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

slime = S[0]

for i in range(1, N):
    if S[i] != slime[-1]:
        slime += S[i]

print(len(slime))
