import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
try(Resource resource = new Resource()){
}
}
}
class Resource implements Closeable {
public Resource(){
System.
out.
println("Resource"); }
public void close(){
System.
out.
println("Closing"); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CiAKY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCXRyeShSZXNvdXJjZSByZXNvdXJjZSA9IG5ldyBSZXNvdXJjZSgpKXsKCQkJU3lzdGVtLm91dC5wcmludGxuKCJUcnlpbmciKTsKCQkJdGhyb3cgbmV3IFJ1bnRpbWVFeGNlcHRpb24oIlRyeWluZyBmYWlsZWQiKTsKCQl9Cgl9Cn0KIApjbGFzcyBSZXNvdXJjZSBpbXBsZW1lbnRzIENsb3NlYWJsZSB7CglwdWJsaWMgUmVzb3VyY2UoKXsKCQlTeXN0ZW0ub3V0LnByaW50bG4oIlJlc291cmNlIik7CgkJdGhyb3cgbmV3IFJ1bnRpbWVFeGNlcHRpb24oIlJlc291cmNlIGZhaWxlZCIpOwoJfQoJCglwdWJsaWMgdm9pZCBjbG9zZSgpewoJCVN5c3RlbS5vdXQucHJpbnRsbigiQ2xvc2luZyIpOwoJCXRocm93IG5ldyBSdW50aW1lRXhjZXB0aW9uKCJDbG9zaW5nIGZhaWxlZCIpOwoJfQp9