DWITE, February 2013, Problem 5
A lot of phones nowadays are moving away from the standard number lock to using pattern locks. Given a

One day you decide to find out exactly how secure this lock is by determining the number of possible patterns you can make for a
Input Specification
The first line of each test case contains a number
Output Specification
The output should contain the total possible number of patterns you can have for the
Sample Input
1
2
Sample Output
56
376
Problem Resource: DWITE
Comments
Up to!!!!!!!!!!!!!!