public class TernaryBoolean {
    public static void input() {
        ternary(4, 5);
    }

    private static String value = "no value";
    public static void ternary(int value1, int value2) {
        String x = "true";
        String z = "equal";
        String y = "false";

        if(value1 > value2) {
            value = x;
        } else if(value1 < value2) {
            value = y;
        } else {
            value = z;
        }
    }
    public static void result() {
        System.out.println(value);
    }
}