import java.io.*;
import java.util.*;
import java.util.zip.*;
class Evil {
Enumeration<? extends ZipEntry> entries = zip.entries();
while(entries.hasMoreElements()) {
System.
out.
print(entry.
isDirectory() ? "dir: " : "file: "); System.
out.
println(entry.
getName()); }
}
}
aW1wb3J0IGphdmEuaW8uKjsKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS51dGlsLnppcC4qOwpjbGFzcyBFdmlsIHsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBFeGNlcHRpb24gewogICAgICAgIFppcEZpbGUgemlwID0gbmV3IFppcEZpbGUoInRlc3RlZC56aXAiKTsKICAgICAgICBFbnVtZXJhdGlvbjw/IGV4dGVuZHMgWmlwRW50cnk+IGVudHJpZXMgPSB6aXAuZW50cmllcygpOwogICAgICAgIHdoaWxlKGVudHJpZXMuaGFzTW9yZUVsZW1lbnRzKCkpIHsKICAgICAgICAgICAgWmlwRW50cnkgZW50cnkgPSBlbnRyaWVzLm5leHRFbGVtZW50KCk7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoZW50cnkuaXNEaXJlY3RvcnkoKSA/ICJkaXI6ICIgOiAiZmlsZTogIik7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihlbnRyeS5nZXROYW1lKCkpOwogICAgICAgIH0KICAgIH0KfQ==