import java.util.*;
class Main{
public static void main
(String args
[]){
char []ch = str.toCharArray();
char []ch1 = str1.toCharArray();
StringBuilder sb = new StringBuilder();
for (int i=0;i<ch1.length;i++){
for(int j=0;j<ch.length;j++){
if (ch1[i] == ch[j]){
al.add(ch1[i]);
System.
out.
println("al -- " + al.
get(i
)); }
}
}
System.
out.
println("al" + al.
size()); for (int i=0;i<al.size();i++){
if(!(str.
contains(String.
valueOf(al.
get(i
))))){ sb
= sb.
append(String.
valueOf(al.
get(i
))); }
}
System.
out.
println(":::" + sb.
toString()); }
}
aW1wb3J0IGphdmEudXRpbC4qOwoKY2xhc3MgTWFpbnsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmcgYXJnc1tdKXsKICAgICAgICBTdHJpbmcgc3RyID0gIkhlbGxvIHdvcmxkIjsKICAgICAgICBTdHJpbmcgc3RyMSA9ICJ3b3JkIjsKCiAgICAgICAgY2hhciBbXWNoID0gc3RyLnRvQ2hhckFycmF5KCk7CiAgICAgICAgY2hhciBbXWNoMSA9IHN0cjEudG9DaGFyQXJyYXkoKTsKICAgICAgICBMaXN0PENoYXJhY3Rlcj4gYWwgPSBuZXcgQXJyYXlMaXN0KCk7CgogICAgICAgIFN0cmluZ0J1aWxkZXIgc2IgPSBuZXcgU3RyaW5nQnVpbGRlcigpOwoKICAgICAgICBmb3IgKGludCBpPTA7aTxjaDEubGVuZ3RoO2krKyl7CiAgICAgICAgICAgIGZvcihpbnQgaj0wO2o8Y2gubGVuZ3RoO2orKyl7CiAgICAgICAgICAgICAgICBpZiAoY2gxW2ldID09IGNoW2pdKXsKICAgICAgICAgICAgICAgICAgICBhbC5hZGQoY2gxW2ldKTsKICAgICAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oImFsIC0tICIgKyBhbC5nZXQoaSkpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfQogU3lzdGVtLm91dC5wcmludGxuKCJhbCIgKyBhbC5zaXplKCkpOwogICAgICAgIGZvciAoaW50IGk9MDtpPGFsLnNpemUoKTtpKyspewogICAgICAgICAgICBpZighKHN0ci5jb250YWlucyhTdHJpbmcudmFsdWVPZihhbC5nZXQoaSkpKSkpewogICAgICAgICAgICAgICAgc2IgPSBzYi5hcHBlbmQoU3RyaW5nLnZhbHVlT2YoYWwuZ2V0KGkpKSk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCI6OjoiICsgc2IudG9TdHJpbmcoKSk7CiAgICB9Cn0=