eolymp
bolt
Try our new interface for solving problems
Problems

Java FileInputStream

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