#include using namespace std; int main() { int a, b, c = 0; cin >> a; cin >> b; while (c < b){ c = c + a; } cout << c << endl; return 0; }