import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Ingrese el primer lado: ");
int primerLado = scanner.nextInt();
System.out.print("Ingrese el segundo lado: ");
int segundoLado = scanner.nextInt();
System.out.print("Ingrese el tercer lado: ");
int tercerLado = scanner.nextInt();
if ((primerLado + segundoLado) > tercerLado && (primerLado + tercerLado) > segundoLado && (tercerLado + segundoLado) > primerLado){
System.out.println("Los lados pueden formar un triángulo.");
} else {
System.out.println("Es imposible formar un triángulo con las dimensiones proporcionadas.");
}
scanner.close();
}
}