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=(nn/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