Всем привет. Что не так?
package com.javarush.task.pro.task03.task0305;
import java.util.Scanner;
/*
Три числа
*/
public class Solution {
public static void main(String[] args) {
Scanner scanner = new Scanner (System.in);
int x1 = scanner.nextInt();
Scanner sc = new Scanner (System.in);
int x2 = sc.nextInt();
Scanner s = new Scanner (System.in);
int x3 = s.nextInt();
if (x1 == x2) {
System.out.println("x1" + " " + "x2");
} else
if (x1 == x3) {
System.out.println("x1" + " " + "x3");
} else
if (x2 == x3) {
System.out.println("x2" + " " + "x3");
} else
if ((x1 == x2) && (x1 == x3) && (x2 == x3)) {
System.out.println("x1" + " " + "x2" + " " + "x3");
} else
}
}