/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.stream.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
List<String> values = new ArrayList<>();
values.add("1000");
values.add("10001111");
values.add("45678901");
values.add("1111");
values.add("22222222");
values.add("2222");
values.add("33333333");
List<Integer> indexes = new ArrayList<>();
for(int i=0; i<values.size();i++){
if(values.get(i).length() == 4){
indexes.add(i);
}
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwuc3RyZWFtLio7Ci8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJTGlzdDxTdHJpbmc+IHZhbHVlcyA9IG5ldyBBcnJheUxpc3Q8PigpOwoJCXZhbHVlcy5hZGQoIjEwMDAiKTsKCQl2YWx1ZXMuYWRkKCIxMDAwMTExMSIpOwoJCXZhbHVlcy5hZGQoIjQ1Njc4OTAxIik7CgkJdmFsdWVzLmFkZCgiMTExMSIpOwoJCXZhbHVlcy5hZGQoIjIyMjIyMjIyIik7CgkJdmFsdWVzLmFkZCgiMjIyMiIpOwoJCXZhbHVlcy5hZGQoIjMzMzMzMzMzIik7CgkJTGlzdDxJbnRlZ2VyPiBpbmRleGVzID0gbmV3IEFycmF5TGlzdDw+KCk7CgkJZm9yKGludCBpPTA7IGk8dmFsdWVzLnNpemUoKTtpKyspewoJCQlpZih2YWx1ZXMuZ2V0KGkpLmxlbmd0aCgpID09IDQpewoJCQkJaW5kZXhlcy5hZGQoaSk7CgkJCX0KCQl9CgkJU3lzdGVtLm91dC5wcmludGxuKGluZGV4ZXMpOwoJfQp9