import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args){

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int no=0;
		try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		}
		int Ans=(int)Math.pow(no, 3.0);

		System.out.println(Ans);


	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args){

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int no=0;
		try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		}
		int Ans=(int)Math.pow(no, 3.0);

		System.out.println(Ans);


	}
} Main public static void main(String[] args){

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int no=0;
		try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		}
		int Ans=(int)Math.pow(no, 3.0);

		System.out.println(Ans);


	} main {

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int no=0;
		try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		}
		int Ans=(int)Math.pow(no, 3.0);

		System.out.println(Ans);


	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) int no=0; no 0 try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		} Exception e {
			// TODO: handle exception
			no = 0;

		} no = 0 no 0 {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} String buf = br.readLine(); buf br.readLine() br.readLine br no = Integer.parseInt(buf) no Integer.parseInt(buf) Integer.parseInt Integer buf int Ans=(int)Math.pow(no, 3.0); Ans (int)Math.pow(no, 3.0) Math.pow Math no 3.0 System.out.println(Ans) System.out.println System.out System System.out Ans String[] args args public class Main {

	public static void main(String[] args){

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int no=0;
		try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		}
		int Ans=(int)Math.pow(no, 3.0);

		System.out.println(Ans);


	}
} public class Main {

	public static void main(String[] args){

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int no=0;
		try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		}
		int Ans=(int)Math.pow(no, 3.0);

		System.out.println(Ans);


	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args){

		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		int no=0;
		try {
			String buf = br.readLine();
			no = Integer.parseInt(buf);

		} catch (Exception e) {
			// TODO: handle exception
			no = 0;

		}
		int Ans=(int)Math.pow(no, 3.0);

		System.out.println(Ans);


	}
}