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

#119. Integer division and remainder (k=3)

You get an integer a. Divide a by 3: 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
983
Output
327
2
Input
208
Output
69
1

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