In computer science, numbers are often represented in binary form. Your task is to develop a program that reads such a binary string from the input and outputs its decimal (base-10) equivalent.
Input
The only line of the input contains the string s consisting of 0s and 1s (1 ≤ |s| ≤ 31).
Output
A single integer, representing the decimal equivalent of the binary string.