public static long cube(long a){ return a*a*a; } public static long ninthDegree (long b) { return (long) Math.pow(cube(b),3); }