Write a program to Print the below pattern below
Given m and n integer input, where m tab separated stars are printed in the first line, and in total there are n lines.
Input Format
m will be given in the first line,
n will be given in the second line.
Constraints
3<=m<=2^31-1
n can be any positive integer in the series 1, 4, 7, 10, 13....
Output Format
Print the pattern accordingly.
Sample Input 0
3
10
Sample Output 0
* * *
* *
* *
* * *
* *
* *
* * *
* *
* *
* * *
Sample Input 1
5
13
Sample Output 1
* * * * *
* *
* *
* * * * *
* *
* *
* * * * *
* *
* *
* * * * *
* *
* *
* * * * *
Also Read :Print Inverted triangle