#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
int main() {
cout << __lg(1) << endl;
volatile int i = 1;
do {
cout << __lg(i) << endl;
++i;
} while (i <= 1);
}
I3ByYWdtYSBHQ0Mgb3B0aW1pemUoIk9mYXN0IikKI2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBjb3V0IDw8IF9fbGcoMSkgPDwgZW5kbDsKICAgIHZvbGF0aWxlIGludCBpID0gMTsKICAgIGRvIHsKICAgICAgICBjb3V0IDw8IF9fbGcoaSkgPDwgZW5kbDsKICAgICAgICArK2k7CiAgICB9IHdoaWxlIChpIDw9IDEpOwp9