//The SquaresCubes program prints a table containing the integers from 1 to 25 and their
//squares and cubes (using two methods of the appropriate names to do so).

import java.io.*;

public class SquaresCubesGenerator {
   public static void main(String[] args) throws IOException {

   for (int counter=1; counter<=25; counter++)
        {        
        System.out.println(square(counter));
        System.out.println(cube(counter));
        }
    
   }//main

//       System.out.println("Enter a whole number:");


    static int square(int number) {
	    return (number*number);
        }

    static int cube(int number)
        {
	    return (number*number*number);
        }



}//SquaresCubesGenerator class