#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(int i=0;i> H >> A; ll x=0; for(i=1;;i++){ H=H/A; if(H<=0){ x=i; break; } } cout << (1LL<