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

public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String head;
		try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		}

        int n;
        try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        }

        System.out.println(n*n*n);
    }
} 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 br = new BufferedReader(new InputStreamReader(System.in));
        String head;
		try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		}

        int n;
        try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        }

        System.out.println(n*n*n);
    }
} Main public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String head;
		try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		}

        int n;
        try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        }

        System.out.println(n*n*n);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String head;
		try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		}

        int n;
        try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        }

        System.out.println(n*n*n);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String head; head try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		} IOException e {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		} System.err.println("The input is missing. " + e.getMessage()) System.err.println System.err System System.err "The input is missing. " + e.getMessage() "The input is missing. " e.getMessage() e.getMessage e return; {
			head = br.readLine();
		} head = br.readLine() head br.readLine() br.readLine br int n; n try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        } NumberFormatException e {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        } System.err.println("The input is in an illegal form. " + e.getMessage()) System.err.println System.err System System.err "The input is in an illegal form. " + e.getMessage() "The input is in an illegal form. " e.getMessage() e.getMessage e return; {
        	n= Integer.parseInt(head);
        } n= Integer.parseInt(head) n Integer.parseInt(head) Integer.parseInt Integer head System.out.println(n*n*n) System.out.println System.out System System.out n*n*n n*n*n n n n String[] args args public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String head;
		try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		}

        int n;
        try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        }

        System.out.println(n*n*n);
    }
} public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String head;
		try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		}

        int n;
        try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        }

        System.out.println(n*n*n);
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String head;
		try {
			head = br.readLine();
		} catch (IOException e) {
			System.err.println("The input is missing. " + e.getMessage());
			return;
		}

        int n;
        try {
        	n= Integer.parseInt(head);
        } catch(NumberFormatException e) {
			System.err.println("The input is in an illegal form. " + e.getMessage());
			return;
        }

        System.out.println(n*n*n);
    }
}