import std.stdio, std.string, std.range, std.conv, std.array, std.algorithm, std.math, std.typecons, std.functional;

void main() {
    readln.split.to!(int[]).pipe!(a => a[0] - a[1] + 1).writeln;
}

