package zh.codegym.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 != 0){
if(a-c==0){
System.out.println(a +" "+ c);
}
if(b-c==0){
System.out.println(b +" "+ c);
}
}
else{
if(a-c==0){
System.out.println(a + " " + b + " " + c);
}
}
}
}
package zh.codegym.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 != 0){
if(a-c==0){
System.out.println(a +" "+ c);
}
if(b-c==0){
System.out.println(b +" "+ c);
}
}
else{
if(a-c==0){
System.out.println(a + " " + b + " " + c);
}
}
}
}