In the windmill fields of Gusthaven, Zephyr the factor keeps careful count of the charms. Recover the missing manifest, every figure matters. Task: Print the first character of s that occurs exactly once. If none exists, print -1. Input format: One line with a single lowercase string s. Output format: Print a single character or -1. Constraints: 1 <= |s| <= 1876; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 1876; s contains lowercase English letters.
