наверное фигни накодил=) помогите
package com.javarush.task.task04.task0412;
/*
Положительное и отрицательное число
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
String throw = bufferedReader.readLine();
int throw = Integer.parseInt(throw);
if (throw > 0)
throw = throw*2;
if (throw < 0)
throw = throw + 1;
if (throw == 0)
throw = 0;
System.out.println(throw);
//напишите тут ваш код
}
}