Помогите
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));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
if (a==b) {
System.out.println(a +" "+b);
} else if (a==c) {
System.out.println(a+" "+b);
} else if (b==c) {
System.out.println(b+" "+c);
} else if (a==b==c) {
System.out.println(a+" "+b+" "+c);
}
}
}