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);
}
}
}
three numbers
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
3 September, 15:47
What problem are you having?
+1