Can you tell me where is error in my code , because I don't found them.
package pl.codegym.task.task04.task0414;
/*
Liczba dni w roku
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//tutaj wpisz swój kod
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String rok = reader.readLine();
int nRok = Integer.parseInt(rok);
System.out.println("Liczba dni w roku: " + nRok);
if((nRok % 400 == 0) || (nRok % 4 == 0)) {
int x = 366;
System.out.println("Liczba dni w roku: " + x);
} else if(nRok % 100 == 0) {
int x = 365;
System.out.println("Liczba dni w roku: " + x);
}
}
}