import java.util.*;
import java.util.regex.*;
class Demo {
static public void main
(String[] args
) {
System.
out.
println(str.
contains(lock
)); str = str.replaceFirst(Pattern.quote(lock), "");
System.
out.
println("|" + str
+ "|"); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS51dGlsLnJlZ2V4Lio7CgpjbGFzcyBEZW1vIHsKICAgIHN0YXRpYyBwdWJsaWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBTdHJpbmcgbG9jayA9ICJPXzJfXi1eIjsKICAgICAgICBTdHJpbmcgc3RyID0gIiBPXzJfXi1eICI7CiAgICAgICAgCiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHN0cik7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKGxvY2spOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihzdHIuY29udGFpbnMobG9jaykpOwogICAgICAgIHN0ciA9IHN0ci5yZXBsYWNlRmlyc3QoUGF0dGVybi5xdW90ZShsb2NrKSwgIiIpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigifCIgKyBzdHIgKyAifCIpOwogICAgfQp9Cg==