import java.util.Scanner;
public class Overload{
public static void main(String[ ] args){
Scanner scanner = new Scanner(System.in);
System.out.print("请输入一个x:");
x = scanner.nextInt();
System.out.print("请输入一个y:");
y = scanner.nextInt();
System.out.print("请输入一个z:");
z = scanner.nextInt();
if (x<0){
function(int x);
}
else if((x>=0)&&(y<0)){
function(int x,int y);
}
else if((x>=0)&&(y>=0)&&(z<0)){
function(int x,int y,int z);
}
}