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

#177. Integer division and remainder (k=7)

You get an integer a. Divide a by 7: 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
44
Output
6
2
Input
647
Output
92
3

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