1005: 整数幂
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);int a=cin.nextInt();int b=cin.nextInt();int c=cin.nextInt();System.out.println(String.format("%-9d%-9d%-9d",a,a*a,a*a*a));System.out.println(String.format("%-9d%-9d%-9d",b,b*b,b*b*b));System.out.println(String.format("%-9d%-9d%-9d",c,c*c,c*c*c));}
}