import java.util.regex.Pattern;
public class Main {
public static void main
(String[] args
) { Pattern p = Pattern.compile("casa", Pattern.CASE_INSENSITIVE);
System.
out.
println(p.
matcher("Casa").
matches()); System.
out.
println(p.
matcher("CaSa").
matches()); System.
out.
println(p.
matcher("CAsA").
matches()); System.
out.
println(p.
matcher("casa").
matches()); System.
out.
println(p.
matcher("CaSA").
matches()); System.
out.
println(p.
matcher("Sopa").
matches()); System.
out.
println(p.
matcher("Carro").
matches()); System.
out.
println(p.
matcher("Verde").
matches()); }
}
aW1wb3J0IGphdmEudXRpbC5yZWdleC5QYXR0ZXJuOwoKcHVibGljIGNsYXNzIE1haW4gewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewogICAgICAgIFBhdHRlcm4gcCA9IFBhdHRlcm4uY29tcGlsZSgiY2FzYSIsIFBhdHRlcm4uQ0FTRV9JTlNFTlNJVElWRSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHAubWF0Y2hlcigiQ2FzYSIpLm1hdGNoZXMoKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHAubWF0Y2hlcigiQ2FTYSIpLm1hdGNoZXMoKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHAubWF0Y2hlcigiQ0FzQSIpLm1hdGNoZXMoKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHAubWF0Y2hlcigiY2FzYSIpLm1hdGNoZXMoKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHAubWF0Y2hlcigiQ2FTQSIpLm1hdGNoZXMoKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHAubWF0Y2hlcigiU29wYSIpLm1hdGNoZXMoKSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKHAubWF0Y2hlcigiQ2Fycm8iKS5tYXRjaGVzKCkpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihwLm1hdGNoZXIoIlZlcmRlIikubWF0Y2hlcygpKTsKICAgIH0KfQ==