#pragma GCC optimize("Ofast")
#pragma GCC target("abm")
#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);
}
I3ByYWdtYSBHQ0Mgb3B0aW1pemUoIk9mYXN0IikKI3ByYWdtYSBHQ0MgdGFyZ2V0KCJhYm0iKQojaW5jbHVkZSA8Yml0cy9zdGRjKysuaD4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKICAgIGNvdXQgPDwgX19sZygxKSA8PCBlbmRsOwogICAgdm9sYXRpbGUgaW50IGkgPSAxOwogICAgZG8gewogICAgICAgIGNvdXQgPDwgX19sZyhpKSA8PCBlbmRsOwogICAgICAgICsraTsKICAgIH0gd2hpbGUgKGkgPD0gMSk7Cn0=