s=list(input()) t=0 for i in range(13): x=s.count(chr(ord('a')+i)) if 2