program pas; var a,b:int64; begin readln(a,b); writeln(b-a+1); end.