#include <bits/stdc++.h>   int main() {     char A[100];     int M, N = 0, i = 0;     scanf( %d , &M);     scanf( %s , A);     for (i = 0; i < M; i++) {       if (A[i] ==  x  && A[i + 1] ==  x  && A[i + 2] ==  x ) {         N++;       }     }     printf( %d n , N);   }   