CodeLab Academy 📞 9936 6696
← List Python · Level 8: Nested loops Code · 80 points ← #795 #797 →

#796. Count the whole-number points inside a circle (x² + y² ≤ r²)

Use nested loops to count the **whole-number points inside a circle (x² + y² ≤ r²)**. ### Input One integer (0 ≤ value ≤ 50). ### Output A number.

Examples

Input
16
Output
797
Input
34
Output
3625

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