Problem2776--ba<x>se2

2776: base2

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

You are given a sequence A=(A0,A1,,A63) of length 64 consisting of 0 and 1.

Find A020+A121++A63263.

Input

The input is given from Standard Input in the following format:

Output

Print the answer as an integer.

Sample Input Copy

1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Sample Output Copy

13

Source/Category

 AtCoder