Question

Write a function to find first non repeated character from given string?

Login to Submit

Examples

Input: "mam"
Output: "a"

Input: "pen"
Output: "p"

Input: "paper"
Output: "a"

Input: "mathematics"
Output: "h"