#include<bits/stdc++.h> using namespace std; int main() { int n,k,num; cin>>n>>k; for(int i=n;i<=k;i++){ num++; } cout<<num; return 0; }