#T640. 0是第几个输入的数

0是第几个输入的数

Description

Enter a series of integers and stop when reading 0. Output the position of the first 0 encountered.

If there are multiple 0s in the series, only output the position of the first 0.

Input Format

A series of numbers (with an uncertain count)

Output Format

The position of the first 0 (if there are multiple 0s in the series, only output the position of the first 0)

```input1 45 532 2343 2 0 234 39 0 9 ``` ```output1 5 ``` ## 源码

CodesOnline