fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Main {
  6. public static void main (String[] args) throws java.lang.Exception {
  7. Scanner in = new Scanner(System.in);
  8. int a=in.nextInt();
  9. System.out.print((a+1)*(a+1));
  10. }
  11. }
Success #stdin #stdout 0.15s 321280KB
stdin
4
stdout
25