import java.util.*;
import java.lang.*;
public class Main{
public static void main
(String[] args
){ int result[] = new int[]{0,0,1,0};
int out = 0;
for(int i = 0;i < result.length; i ++){
out = (out << 1) + result[i];
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CgpwdWJsaWMgY2xhc3MgTWFpbnsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpewogICAgICAgIGludCByZXN1bHRbXSA9IG5ldyBpbnRbXXswLDAsMSwwfTsKICAgICAgICBpbnQgb3V0ID0gMDsKICAgICAgICBmb3IoaW50IGkgPSAwO2kgPCByZXN1bHQubGVuZ3RoOyBpICsrKXsKICAgICAgICAgICAgb3V0ID0gKG91dCA8PCAxKSArIHJlc3VsdFtpXTsKICAgICAgICB9CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKG91dCk7CiAgICB9Cn0=