Print diamond pattern with n rows (upper half). Use * characters. Print the full diamond: n rows widening, then n-1 rows narrowing.
Write a complete program: read the input with input() and print the result with print().
# n=3
*
***
*****
***
*
Input
3
Output
*
***
*****
***
*