public class Test {
    public static void main(String[] args) {
	for (int i=1; i<=3; i++)
	    StdOut.println(i*i);
    }
}