Помогите, не проходит пункт 4(((
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
int num1 = Integer.parseInt(input.readLine());
int num2 = Integer.parseInt(input.readLine());
int num3 = Integer.parseInt(input.readLine());
if (num1 != num2 && num1 != num3)
System.out.println(1);
if (num2 != num1 && num2 != num3)
System.out.println(2);
if (num3 != num1 && num3 != num2)
System.out.println(3);
if (num1 != num2 && num1 != num3 && num2 != num3) {
}
}
}
package com.javarush.task.task04.task0424;
/*
Три числа
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
int num1 = Integer.parseInt(input.readLine());
int num2 = Integer.parseInt(input.readLine());
int num3 = Integer.parseInt(input.readLine());
if (num1 != num2 && num1 != num3)
System.out.println(1);
if (num2 != num1 && num2 != num3)
System.out.println(2);
if (num3 != num1 && num3 != num2)
System.out.println(3);
if (num1 != num2 && num1 != num3 && num2 != num3) {
}
}
}