import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int side1 = scan.nextInt();
int side2 = scan.nextInt();
int side3 = scan.nextInt();
if ( side1 + side2 > side3 || side2 + side3 > side1 || side3 +side1 > side2){
System.out.println ("The triangle is possible.");
} else if ( side3 >= (side1+side2) || side1 >= (side2+side3) || side2 >= (side1+side3)){
System.out.println ("The triangle is not possible.");
}
// side1 + side2 <= side3 || side2 + side3 <= side1 || side3 + side1 <= side2
}
}
package com.codegym.task.task04.task0415;
/*
Rule of the triangle
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int side1 = scan.nextInt();
int side2 = scan.nextInt();
int side3 = scan.nextInt();
if ( side1 + side2 > side3 || side2 + side3 > side1 || side3 +side1 > side2){
System.out.println ("The triangle is possible.");
} else if ( side3 >= (side1+side2) || side1 >= (side2+side3) || side2 >= (side1+side3)){
System.out.println ("The triangle is not possible.");
}
// side1 + side2 <= side3 || side2 + side3 <= side1 || side3 + side1 <= side2
}
}