Doubt about test case 1

In this code what’s wrong why test case 1 are not clear rest of test cases are clear

import java.util.*;
public class Main {
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
long N=sc.nextInt();
System.out.print("");

	             if(N<=1||N<=0)
	             System.out.println("-1");
	             
	             else if(N%2==0){
	                long var=N*N/4;
	                System.out.println(var-1+" "+var+1);
	             }
	             else if(N%2!=0){
	               long var=N*N+1;
	               System.out.print(var/2-1+" "+var/2);
	             }
	             }
	 }

use proper brackets for the calculation to avoid concatenation
corrected code: