#C6961. First Repeating Character

    ID: 50779 Type: Default 1000ms 256MiB

First Repeating Character

First Repeating Character

Given a string s, find and return the first character that repeats in the string. If no character repeats, print No Repeating Character.

The problem is case-sensitive, and the input string may contain letters, digits, spaces, or symbols.

For example, if s = "abca", the first repeating character is 'a'.

If s = "abcdefg", then no character repeats, so output No Repeating Character.

The solution should read input from standard input (stdin) and output the result to standard output (stdout).

inputFormat

The input consists of a single line containing a string s. The string can have spaces and special characters and is read from standard input (stdin).

Example: abca

outputFormat

Output the first repeating character found in the string. If there is no repeating character, output No Repeating Character.

The result should be printed to standard output (stdout).

## sample
abca
a