import java.io.*;
public class test{
    public static void main (String[] args){
        int a=18,b=34,c=10,Max,min;
        if (a>b)
            Max = a;
        else
            Max = b;
        if (c > Max)
            Max = c;
        System.out.println("Max" +Max);
        min = a<b?a:b;
        min = c<min?c:min;
        System.out.println("min"+min);
    }
}