Здравствуйте. Как вывести значение из переменной которое приняло значение true?
package ua.javarush.task.pro.task03.task0305;

import java.util.Scanner;

/*
Три числа
*/

public class Solution {

    private static boolean SameThree;
    private static boolean SameTwo;

    public static void main(String[] args) {
        Scanner keybord = new Scanner (System.in);
        int a = keybord.nextInt();
        int b = keybord.nextInt();
        int c = keybord.nextInt();
        SameThree = (a == b && b == c && c == a);
        SameTwo = (a == b || a == c || b == c);
        if (SameThree) {
            System.out.println("a, " + "b, " + "c");
        }    else if (SameTwo) {
            System.out.println(SameTwo);
        }    else {
            System.out.println("");

        }

    }
}