CodeLab Academy 📞 9936 6696
← List Python · Level 2: Arithmetic Code · 20 points ← #189 #191 →

#190. Integer division and remainder (k=9)

You get an integer a. Divide a by 9: find the whole part (`//`) and the remainder (`%`). ### Input One integer a (0 ≤ a ≤ 1000). ### Output The whole part on the first line, the remainder on the next line.

Examples

Input
353
Output
39
2
Input
887
Output
98
5

💡 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!