#include int main(void){ // Here your code ! int a,b,cnt = 0; scanf("%d%d",&a,&b); while(b > 0){ b /= a; cnt += 1; } printf("%d",cnt); return 0; }