import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.stream.Stream; import static java.lang.System.in; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(in)); String[] inputs = reader.readLine().split(" "); int a = Integer.parseInt(inputs[0]); int b = Integer.parseInt(inputs[1]); System.out.println(formatRateChange(a,b)); } private static String formatRateChange(int previous, int current) { if(previous==current) { return "0"; } else if (previous < current) { return "+" + (current-previous); } else { return "-" + (previous-current); } } }