import java.io.*; public class Carres { public static void main(String[] args) { // Tampon (buffer) du flux d'entrée standard (clavier) BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); try { String v1 = in.readLine(); int x = Integer.parseInt(v1); String v2 = in.readLine(); int y = Integer.parseInt(v2); if(x > y) { int z = x; x = y; y = z; } for(int n = x; n <= y; n++) { System.out.println(n * n); } } catch(Exception e) { System.out.println("Entrée invalide !!"); } } // main() } // class Carres