s=input().lower();print[c for c in s if s.count(c)<2][1:2]
"AAaAAABBbBB"
[]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!