LearnPy Hub
← Arena
EasyRating 1000

Repeated Letters

Print the characters that appear more than once, in the order of their first appearance, with no spaces. Print NONE if there are none.

Input

One word.

Output

One line.

Sample 1

Input
programming
Output
rgm

Sample 2

Input
abc
Output
NONE
solution.py
Output appears here
Repeated Letters · Python Arena problem · LearnPy Hub