CodeLab Academy 📞 9936 6696
← List Python · Level 10: Algorithms Code · 100 points ← #989 #991 →

#990. From base 2 to base 8

You get a number written in base 2. Convert it to base 8 and print it. ### Input One line. ### Output One line.

Examples

Input
1000111110011
Output
10763
Input
1000010110000
Output
10260

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!