Problem Description

Convert a binary string (up to 500 bits) into a decimal string.

Input Format

One token b (0/1).

Output Format

One decimal string.

Sample Test Case

Input:
10101
Output:
21

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next