import java.util.*;
import java.lang.*;
class Main
{
{
System.
out.
println(containsDouble
(a,
'z')); System.
out.
println(containsDouble
(b,
'z')); }
return s.indexOf(letter, s.indexOf(letter) + 1) > -1;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CgpjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU3RyaW5nIGEgPSAiemFwcGF6IjsKICAgICAgICBTdHJpbmcgYiA9ICJub3QiOwogICAgICAgIAogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihjb250YWluc0RvdWJsZShhLCAneicpKTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oY29udGFpbnNEb3VibGUoYiwgJ3onKSk7Cgl9CiAgICAKICAgIHByaXZhdGUgc3RhdGljIEJvb2xlYW4gY29udGFpbnNEb3VibGUoU3RyaW5nIHMsIGNoYXIgbGV0dGVyKSB7CiAgICAgICAgcmV0dXJuIHMuaW5kZXhPZihsZXR0ZXIsIHMuaW5kZXhPZihsZXR0ZXIpICsgMSkgPiAtMTsKICAgIH0KfQ==