e-olymp
Competitions

PP2. Week 8: April 26 - May 2

Java FileInputStream

Input is a data file. Read bytes and find their sum

Input

Sequence of bytes.

Output

Print the sum of bytes.

Explanation

Sample input has three bytes with ASCII codes 1, 2 and 3. Their sum is 6.

Time limit 1 second
Memory limit 128 MiB
Input example #1

Output example #1
6
Author Mykhailo Medvediev