Where I'm wrong......? my 1 testcase is failed

import java.util.;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int ft=0;
int st=0;
if(n%2==1){
ft=(n
n/2);
st=((nn/2)+1);
}else{
ft=((n/2)
(n/2))-1;
st=((n/2)*(n/2))+1;
}
System.out.println(ft+" "+st);
}
}

Summary

This text will be hidden

for input 1 output should be -1 .add retunr here:

if(n==1 || n==0){
	 System.out.println(-1);
          return;
  }