After completing the game, talk to Konohamaru to go to the Password Screen.
Imagine there is a grid on the Touch Screen with 12 Squares, 3 down and 4 across, it will look like this without the lines or numbers:
[1 ][ 2 ][ 3 ][ 4 ]
[5 ][ 6 ][ 7 ][ 8 ]
[9 ][10][11][12]
Touch the numbers in the order they are shown below: