//напишите тут ваш код
if(c<=x && c<=d)
return c;
else if(x<=c && x<=d)
return x;
else
return d;


    }

    public static int min(int a, int b) {
        //напишите тут ваш код
int x;
if(a<b)
x=a;
return x;
else
x=b;
return x;