Write the java code to print following pattern. Please, help.
input 3:
output: 3
232
12321
3
input: 4
output: 4