не пойму что не так
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 s1 = reader.readLine();
String s2 = reader.readLine();
String s3 = reader.readLine();
int a = Integer.parseInt(s1);
int b = Integer.parseInt(s2);
int c = Integer.parseInt(s3);
if ( a == b && a == c)
System.out.println(a+" "+b+" "+c);
if ( a == b)
System.out.println(a+" "+b);
if ( a == c)
System.out.println(a+" "+c);
if ( c == b)
System.out.println(c+" "+b);
//напишите тут ваш код
}
}