import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		br.close();
		int x = Integer.parseInt(in);
		int y = cube(x);
		System.out.println(y);
	}
	/**
	 * x を3乗する
	 * 
	 * @param x
	 * @return
	 */
	public static int cube(int x) { 
		return x*x*x;
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		br.close();
		int x = Integer.parseInt(in);
		int y = cube(x);
		System.out.println(y);
	}
	/**
	 * x を3乗する
	 * 
	 * @param x
	 * @return
	 */
	public static int cube(int x) { 
		return x*x*x;
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		br.close();
		int x = Integer.parseInt(in);
		int y = cube(x);
		System.out.println(y);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		br.close();
		int x = Integer.parseInt(in);
		int y = cube(x);
		System.out.println(y);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String in = br.readLine(); in br.readLine() br.readLine br br.close() br.close br int x = Integer.parseInt(in); x Integer.parseInt(in) Integer.parseInt Integer in int y = cube(x); y cube(x) cube x System.out.println(y) System.out.println System.out System System.out y String[] args args /**
	 * x を3乗する
	 * 
	 * @param x
	 * @return
	 */
	public static int cube(int x) { 
		return x*x*x;
	} cube { 
		return x*x*x;
	} return x*x*x; x*x*x x*x*x x x x int x x public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		br.close();
		int x = Integer.parseInt(in);
		int y = cube(x);
		System.out.println(y);
	}
	/**
	 * x を3乗する
	 * 
	 * @param x
	 * @return
	 */
	public static int cube(int x) { 
		return x*x*x;
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		br.close();
		int x = Integer.parseInt(in);
		int y = cube(x);
		System.out.println(y);
	}
	/**
	 * x を3乗する
	 * 
	 * @param x
	 * @return
	 */
	public static int cube(int x) { 
		return x*x*x;
	}
} Main
import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String in = br.readLine();
		br.close();
		int x = Integer.parseInt(in);
		int y = cube(x);
		System.out.println(y);
	}
	/**
	 * x を3乗する
	 * 
	 * @param x
	 * @return
	 */
	public static int cube(int x) { 
		return x*x*x;
	}
}