Reverse I


Problem Statement

This problem is worth 3 tokens.

Input Format

Your first line of input will contain nn. Your next line will contain a string of length nn consisting of only 00 and 11 characters.

Sample Cases

Input 1
10
1001001001
Output 1
2
Input 2
10
1000101001
Output 2
3
Input 3
10
1110101001
Output 3
5

Comments0


No comments yet

Be the first to comment.

New comment


Log in to join the discussion.