#include <bits/stdc++.h> using namespace std; int main(){ int a,s,d=0; cin>>a>>s; while(a<=s){ a++; } a++; cout<<a; return 0; }