#include #include #include namespace man { constexpr inline long double log(const long long x, const long double base = 2) noexcept { return std::log2l(x) / std::log2(base); } } int main() { std::cin.tie(nullptr) -> sync_with_stdio(false); long long n, m; std::cin >> n >> m; std::cout << std::fixed << std::setprecision(12) << static_cast(man::log(m, n)) << '\n'; }