#include <stdio.h>
int main(void) {
int n,c=0;
int a[n];
for(int i=0;i<n;i++){
}
int q=0;
while(q==0){
for(int i=0;i<n;i++){
if(a[i]%2!=0)q++;
else a[i]/=2;
}
if(q==0)c++;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgbixjPTA7CglzY2FuZigiJWQiLCZuKTsKCWludCBhW25dOwoJZm9yKGludCBpPTA7aTxuO2krKyl7CglzY2FuZigiJWQiLCZhW2ldKTsJCgl9CgkJaW50IHE9MDsKCXdoaWxlKHE9PTApewoJCWZvcihpbnQgaT0wO2k8bjtpKyspewoJCQlpZihhW2ldJTIhPTApcSsrOwoJCQllbHNlIGFbaV0vPTI7CgkJfQoJCWlmKHE9PTApYysrOwoJfQoJcHJpbnRmKCIlZCIsYyk7CglyZXR1cm4gMDsKfQo=