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

#764. Two 4-sided dice

You roll two 4-sided dice (1-4). In how many ways can the sum be s? (The order matters.) ### Input One integer s. ### Output A number.

Examples

Input
8
Output
1
Input
9
Output
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!