import java.util.regex.*;
class Main
{
{
final String mainRegex
= "(.*?)(&!|&|==)(.*)"; final Matcher matcher = Pattern.compile(mainRegex).matcher(input);
if (matcher.matches())
{
}
else
{
System.
out.
println("no match"); }
}
}
aW1wb3J0IGphdmEudXRpbC5yZWdleC4qOwoKY2xhc3MgTWFpbgp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTdHJpbmcgaW5wdXQgPSAiYT5iJiFjIjsKCQlmaW5hbCBTdHJpbmcgbWFpblJlZ2V4ID0gIiguKj8pKCYhfCZ8PT0pKC4qKSI7CgkJZmluYWwgTWF0Y2hlciBtYXRjaGVyID0gUGF0dGVybi5jb21waWxlKG1haW5SZWdleCkubWF0Y2hlcihpbnB1dCk7CgkJaWYgKG1hdGNoZXIubWF0Y2hlcygpKQoJCXsKCQkJU3lzdGVtLm91dC5wcmludGxuKCJtYXRjaCIpOwoJCX0KCQllbHNlCgkJewoJCQlTeXN0ZW0ub3V0LnByaW50bG4oIm5vIG1hdGNoIik7CgkJfQoJfQp9