#abc150b. [abc150_b]Count ABC

[abc150_b]Count ABC

Problem Statement

We have a string SS of length NN consisting of uppercase English letters.

How many times does ABC occur in SS as contiguous subsequences (see Sample Inputs and Outputs)?

Constraints

  • 3leqNleq503 \\leq N \\leq 50
  • SS consists of uppercase English letters.

Input

Input is given from Standard Input in the following format:

NN SS

Output

Print number of occurrences of ABC in SS as contiguous subsequences.


Sample Input 1

10
ZABCDBABCQ

Sample Output 1

2

Two contiguous subsequences of SS are equal to ABC: the 22-nd through 44-th characters, and the 77-th through 99-th characters.


Sample Input 2

19
THREEONEFOURONEFIVE

Sample Output 2

0

No contiguous subsequences of SS are equal to ABC.


Sample Input 3

33
ABCCABCBABCCABACBCBBABCBCBCBCABCB

Sample Output 3

5