what is the problem
package com.codegym.task.task04.task0414;
/*
Number of days in the year
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here InputStream inputStream= System.in;
InputStream inputStream= System.in;
Reader inputStreamReader = new InputStreamReader(inputStream);
int year = inputStreamReader.read();
boolean leap = false;
// year is divisible by 400, hence the year is a leap year
if (year % 4 == 0 && year % 100 != 0) {
leap = true;
} else if (year % 400 == 0) {
leap = true;
}
if(leap)
System.out.println("Number of days in a year: 366");
else
System.out.println("Number of days in a year: 365");
}
}