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

public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strInput = br.readLine();
		int numInput = Integer.parseInt(strInput);
		System.out.println(numInput*numInput*numInput);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strInput = br.readLine();
		int numInput = Integer.parseInt(strInput);
		System.out.println(numInput*numInput*numInput);
	}
} Main public static void main(String args[]) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strInput = br.readLine();
		int numInput = Integer.parseInt(strInput);
		System.out.println(numInput*numInput*numInput);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strInput = br.readLine();
		int numInput = Integer.parseInt(strInput);
		System.out.println(numInput*numInput*numInput);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strInput = br.readLine(); strInput br.readLine() br.readLine br int numInput = Integer.parseInt(strInput); numInput Integer.parseInt(strInput) Integer.parseInt Integer strInput System.out.println(numInput*numInput*numInput) System.out.println System.out System System.out numInput*numInput*numInput numInput*numInput*numInput numInput numInput numInput String args[] args public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strInput = br.readLine();
		int numInput = Integer.parseInt(strInput);
		System.out.println(numInput*numInput*numInput);
	}
} public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strInput = br.readLine();
		int numInput = Integer.parseInt(strInput);
		System.out.println(numInput*numInput*numInput);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strInput = br.readLine();
		int numInput = Integer.parseInt(strInput);
		System.out.println(numInput*numInput*numInput);
	}
}