I'm having trouble completing the third requirement to double the number.
I've tried (n * 2) and (n + n) both which double the number when I input a number. But i'm still missing something and failing the task.
Any advice? Thank you in advance.

package en.codegym.task.jdk13.task04.task0412;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Positive and negative numbers
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String number = reader.readLine();
int n=Integer.parseInt(number);
if (n > 1) {
System.out.println(n * 2);
}
if (n < 1 && n !=0) {
System.out.println(n + 1);
}
if (n == 0) {
System.out.println(0);
}
//write your code here
}
}