import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); if( a == b){ System.out.println( a+" "+b); } else if( b == c){ System.out.println( c+" "+b); } else if( c == a){ System.out.println( a+" "+c); } else if(( a == b ) && (b == c)){ System.out.println( a+" "+b+" "+c); } } }