import java.util.*;
import java.lang.*;
import java.io.*;
//Given a number A. Return square of the number.
// The main method must be in a class named "Main".
public class Main {
    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        int N = scn.nextInt();
        int result = cal_sqr(N);
        System.out.println(result);
    }
    public static int cal_sqr (int N){
        int calsqr = 1;
        calsqr = N*N;
        return(N*N);
    }
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: