
package en.codegym.task.pro.task03.task0305;
import java.util.Scanner;
/*
Three numbers
*/
public class Solution {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int one = s.nextInt();
int two = s.nextInt();
int three = s.nextInt();
if(one == two){
if(one == three){
System.out.println(one+" "+two+" "+three);
// break;
}else{
System.out.println(one+" "+two);
}
}else if(two == three){
System.out.println(two+" "+three);
}
}
}