Limits
1s, 512 MB

Solving a problem during a programming contest is always a moment of happiness. During the CUET CSE fest programming contest, team $X’s$ solved status is denoted by a binary string $S$ of size $N$ where for all $(1 \leq i \leq N)$, $S_i = 1$ means team $X$ has already solved this problem and $S_i = 0$ means they haven’t solved this yet. Recall that a binary string is a non-empty sequence of characters where each character is either 0 or 1.

After a few hours of the contest, judge pc suddenly started acting weirdly. When a team solves a problem, the next problem automatically gets accepted. In other words, if $X$ solves problem $i$ $(i\leq 1 \leq N)$ that is $S_i$ becomes $1$ then $S_{i+1}$ also becomes $1$ if $(i + 1 \leq N)$.

Team $X$ found this fault and wants to make the best use of it. Your task is to find the minimum number of submissions team $X$ needs to make to solve all the problems. Here you can assume that if team $X$ makes a submission then it gets accepted.

## Input

The first line contains the value of $N$ $(1\leq N \leq 10^5)$— the length of the binary string.

The second line contains a binary string $S$ and for all $(1 \leq i \leq N)$, $S_i$ is either $0$ or $1$.

## Output

Print a single integer — minimum number of submissions team $X$ needs to make to solve all the problems.

## Samples

Factors

| CPU | Memory | Source |
---|

Bash 5.0 | 1× | 1× | 1× |

Brainf*ck | 1× | 1× | 1× |

C# Mono 6.0 | 1× | 1× | 1× |

C++11 GCC 7.4 | 1× | 1× | 1× |

C++14 GCC 8.3 | 1× | 1× | 1× |

C++17 GCC 9.2 | 1× | 1× | 1× |

C++20 Clang 16.0 | 1× | 1× | 1× |

C++20 GCC 12.1 | 1× | 1× | 1× |

C11 GCC 12.1 | 1× | 1× | 1× |

C11 GCC 9.2 | 1× | 1× | 1× |

Common Lisp SBCL 2.0 | 1× | 1× | 1× |

D8 11.8 | 1× | 1× | 1× |

Erlang 22.3 | 1× | 1× | 1× |

Free Pascal 3.0 | 1× | 1× | 1× |

Go 1.18 | 1× | 1× | 1× |

Grep 3.7 | 1× | 1× | 1× |

Haskell 8.6 | 1× | 1× | 1× |

Java 1.8 | 1× | 1× | 1× |

Kotlin 1.1 | 1× | 1× | 1× |

Lua 5.4 | 1× | 1× | 1× |

Node.js 10.16 | 1× | 1× | 1× |

Perl 5.30 | 1× | 1× | 1× |

PHP 7.2 | 1× | 1× | 1× |

PyPy 7.1 (2.7) | 1× | 1× | 1× |

PyPy 7.1 (3.6) | 1× | 1× | 1× |

Python 2.7 | 1× | 1× | 1× |

Python 3.11 | 1× | 1× | 1× |

Ruby 2.7 | 1× | 1× | 1× |

Ruby 3.2 | 1× | 1× | 1× |

Rust 1.57 | 1× | 1× | 1× |

Swift 5.3 | 1× | 1× | 1× |

Whitespace | 1× | 1× | 1× |

Python 3.7 | 1× | 1× | 1× |