почему не проходит? и какие замечания по коду?
package com.javarush.task.task04.task0424;
/*
Три числа
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader vvod = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Введите число 1");
int a = Integer.parseInt(vvod.readLine());
System.out.println("Введите число 2");
int b = Integer.parseInt(vvod.readLine());
System.out.println("Введите число 3");
int c = Integer.parseInt(vvod.readLine());
if ((a == b) && (a != c))
System.out.println("3");
else if ((a == c) && (a != b))
System.out.println("2");
else if ((b == c) && (b != a))
System.out.println("1");
}
}