Подскажите, пожалуйста, почему не засчитывается задача? Вроде все верно сделано.
package com.javarush.task.pro.task03.task0305;
import java.util.Scanner;
/*
Три числа
*/
public class Solution {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
int a = console.nextInt();
int b = console.nextInt();
int c = console.nextInt();
boolean twoFirst = (a == b);
boolean three = ((a == b) && (b == c));
boolean twoLast = (b == c);
boolean firstLast = (a == c);
if (three) {
System.out.println(a + "" + b + "" + c);
}
else if (twoFirst) {
System.out.println(a + "" + b);
}
else if (twoLast) {
System.out.println(b + "" + c);
}
else if (firstLast) {
System.out.println(a + "" + c);
}
}
}