не понимаю по чему 4 пункт не проходит
package com.javarush.task.task04.task0417;
/*
Существует ли пара?
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
if (a==b)
{System.out.print(a+" "+b);}
else if (a==c)
{ System.out.print(a+" "+c);}
else if (b==c)
System.out.print(b+" "+c);
else if (a==b && a==c && b==c)
{System.out.print(a+" "+b+" "+c);}
}
}