I am pretty sure I have got the right solution but still it's not getting verified. Why is that?

package com.codegym.task.task04.task0415;
/*
Rule of the triangle
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(bufferedReader.readLine());
int b = Integer.parseInt(bufferedReader.readLine());
int c = Integer.parseInt(bufferedReader.readLine());
if ((a + b) < c || (a + c) < b || (b + c) < a)
System.out.println("The triangle is not possible.");
else
System.out.println("The triangle is possible.");
}
}

... if the sum of any two of its sides isFor example, 2, 2, 4 2+2 is not greater then 4, but your solution says "The triangle is possible."greaterthan the third side ...eachtwo of its sides" instead "sum of~~any~~two of its sides"