SP13105 MUTDNA - DNA

Description

Biologists have discovered a strange DNA molecule, best described as a sequence of N characters from

Input Format

The first line of input contains the positive integer N (1 The second line of input contains a string with N characters, with each character being either A or B. This string represents the starting state of the molecule.

Output Format

The first and only line of output must contain the required minimum number of mutations.