package com.codegym.task.task04.task0415;
/*
Rule of the triangle
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
// ask to enter input from input consol
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String num1 = bf.readLine();
String num2 = bf.readLine();
String num3 = bf.readLine();
int numA = Integer.parseInt(num1);
int numB = Integer.parseInt(num2);
int numC = Integer.parseInt(num3);
checkTriagle (numA, numB, numC);
}
public static void checkTriagle (int a, int b, int c) {
if (a + b > c)
{
if (b + c > a)
{
if (c + a > b)
System.out.println("The triangle is possible.");
else
System.out.println("The triagle is not possible.");
}
else
System.out.println("The triangle is not possible.");
}
else
System.out.println("The triangle is not possible.");
}
}