#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using cd = complex; constexpr ll mod = 1e9 + 7, maxn = 3e5 + 10; ll lgput(ll x, ll y, ll r) { return y == 0 ? r : lgput(x * x % mod, y / 2, y % 2 ? x * r % mod : r); } ll gcd(ll x, ll y) { return y == 0 ? x : gcd(y, x % y); } pair euclid_extins(ll x, ll y) { pair tmp; return x == 0 ? make_pair(0ll, 1ll) : (tmp = euclid_extins(y % x, x), swap(tmp.first, tmp.second), tmp.first -= tmp.second * (y / x), tmp); } ll inv_mod(ll x, ll mod) { return (euclid_extins(mod, x).second % mod + mod) % mod; } int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int n; cin >> n; for (int i = 1; i <= n; ++i) cout << 1 + (int)log2(i); }