85 atcoder#ABC260A. [ABC260A] A Unique Letter

[ABC260A] A Unique Letter

Score : 100100 points

Problem Statement

You are given a string SS of length 33. Print a character that occurs only once in SS. If there is no such character, print -1 instead.

Constraints

  • SS is a string of length 33 consisting of lowercase English letters.

Input

Input is given from Standard Input in the following format:

SS

Output

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.