//File:	Teeth.java
import iostuff.*;
public class Teeth
{
	public static void main (String [] args)
	{
		System.out.print ("How wide should the tooth be? ");
		int wide = Keyboard.readInt();
		System.out.print ("How many teeth should there be? ");
		int number = Keyboard.readInt();
		
		for (int teeth=1; teeth<=number; teeth++)
		{
			for (int row=0; row < wide; row++)
			{
			//Print a line of *'s
				for (int col = 0; col < row+1; col++)
				{
					System.out.print ("*");
				}
				System.out.println(); //go to next line
			}
		}
	}
}