#include using namespace std; int a,b; int main() { cin >> a >> b; if(b / a < b && b % a != 0) cout << a + 1; else cout << a ; return 0; }