Problem Description

A string s is provided (no spaces). Output the first character that appears exactly once. If none, output -1.

Input Format

One line s.

Output Format

One character or -1.

Sample Test Case

Input:
swiss
Output:
w

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next