import java.util.Scanner; /* Three numbers */ public class Solution { public static void main(String[] args) { //write your code here Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b= sc.nextInt(); int c= sc.nextInt(); if(a==b && a==c ) { System.out.println(a+" "+b+" "+c); } else if(a==b){ System.out.println(a+" "+b); } else if(b==c){ System.out.println(b+" "+c); } else if(c==a){ System.out.println(c+" "+a); } } }