Score : $100$ points
You are given a string $S$ of length $3$.
Print a character that occurs only once in $S$.
If there is no such character, print -1
instead.
Input is given from Standard Input in the following format:
$S$
Print the answer. If multiple solutions exist, you may print any of them.
pop
o
o
occurs only once in pop
.
abc
a
a
, b
, and c
occur once each in abc
, so you may print any of them.
xxx
-1
No character occurs only once in xxx
.