Тестировала это всё- работает. А тестирование не проходит. Помогите пожалуйста!
package com.javarush.task.task04.task0417;
/*
Существует ли пара?
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String af;
String bf;
String cf;
System.out.println("Введите 3 целых числа:");
af = reader.readLine();
bf = reader.readLine();
cf = reader.readLine();
int a = Integer.parseInt(af);
int b = Integer.parseInt(bf);
int c = Integer.parseInt(cf);
if (a==b && b==c && a==c){
System.out.print(a+" "+b+" "+c);
} else if (a==b) {
System.out.print(a+" "+b);
} else if (b==c){
System.out.print(b+" "+c);
} else if (a== c) {
System.out.print(a+" "+c);
}
}
}