В IDE все работает
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 st = reader.readLine();
String str = reader.readLine();
String stri = reader.readLine();
int a = Integer.parseInt(st);
int b = Integer.parseInt(str);
int c = Integer.parseInt(stri);
if(a == b & b==c)
System.out.println(a+" "+b+" "+c);
if(a == b)
System.out.println(a+" "+b);
if(a==c)
System.out.println(a+" "+c);
if(b==c)
System.out.println(b+" "+c);
else{
}
}
}