Base 9
InterviewTime limit2sMemory limit512 MB
Convert a given decimal integer between 1 and 10000 into its base 9 representation.
- Level
Easy2 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
Write a program that converts a decimal number to base 9.
Input
The first line contains a decimal integer ().
Output
Print written in base 9.