U392010 The First Number

题目描述

给出一个长度不确定的序列 $a_i$ , 找到当 $\displaystyle \sum_{s=1}^{length(a)}(a_s)$ 的值第一次为整数时数字 $s$ 的值, 其中 $length(a)$ 表示 $a$ 序列的长度。 若 $s$ 不存在, 输出 `No answer` 。

输入格式

一行,一些浮点数 $a_1, a_2, ...$

输出格式

一行,一个整数 $s$ , 表示答案。 若 $s$ 不存在, 输出 `No answer` 。

说明/提示

$length(a)\le 1000,a_i