Почему выводит ошибку?
package com.javarush.task.task04.task0415;
/*
Правило треугольника
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s = reader.readLine();
String f = reader.readLine();
String p = reader.readLine();
int a = Integer.parseInt(s);
int b = Integer.parseInt(f);
int c = Integer.parseInt(p);
if (c <= a+b)
System.out.println("Треугольник существует.");
else
if (b <= a+c)
System.out.println("Треугольник существует.");
else
if (a <= b+c)
System.out.println("Треугольник существует.");
else
System.out.println("Треугольник не существует.");
}
}