import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int steps= Integer.parseInt(br.readLine()); String[] order = br.readLine().split(""); br.close(); int cur = 0,count=0; for(int i=0;i