Программа по факту выполнена, пишет что отсутствует вывод на экран, не могу понять даже как это так
package com.javarush.task.pro.task03.task0305;
import java.util.Scanner;
import java.util.ArrayList;
/*
Три числа
*/
public class Solution {
public static final Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
/*ArrayList<Integer> array = new ArrayList<>();
int i = 0;
while (scanner.hasNext() != false) {
array.add(scanner.nextInt());
//System.out.println(array.get(i));
i++;
}
for (i = 0; i < array.size(); i++){
System.out.println (i);
}
*/
int first = scanner.nextInt();
int second = scanner.nextInt();
int thierd = scanner.nextInt();
/*int first = 1;
int second = 0;
int thierd = 1;*/
if ((first == second) & (first == thierd))
System.out.println(first + " " + second + " " + thierd);
else if (first == second)
System.out.println(first + " " + second);
else if (first == thierd)
System.out.println(first + " " + thierd);
else if (second == thierd)
System.out.println(second + " " + thierd);
//напишите тут ваш код
}
}