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

#101. Integer division and remainder (k=2)

You get an integer a. Divide a by 2: 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
36
Output
18
0
Input
692
Output
346
0

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