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