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

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String word;
		try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		}
		
		
	}
} 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) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String word;
		try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		}
		
		
	}
} Main public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String word;
		try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		}
		
		
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String word;
		try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		}
		
		
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String word; word try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} IOException e {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		} try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			} IOException e {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			} e.printStackTrace() e.printStackTrace e {
				reader.close();
			} reader.close() reader.close reader {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} word = reader.readLine() word reader.readLine() reader.readLine reader int num = Integer.parseInt(word); num Integer.parseInt(word) Integer.parseInt Integer word int ans = num * num * num; ans num * num * num num * num * num num num num 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) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String word;
		try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		}
		
		
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String word;
		try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		}
		
		
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String word;
		try {
			word = reader.readLine();
			int num = Integer.parseInt(word);
			int ans = num * num * num;
			System.out.println(ans);
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} finally {
			try {
				reader.close();
			} catch (IOException e) {
				// TODO ????????????????????? catch ????????????
				e.printStackTrace();
			}
		}
		
		
	}
}