#2835. Fifty-Fifty
0
Fifty-Fifty
Fifty-Fifty
题目描述
You are given a -character string consisting of uppercase English letters. Determine if consists of exactly two kinds of characters which both appear twice in .
输入格式
Input is given from Standard Input in the following format:
输出格式
If consists of exactly two kinds of characters which both appear twice in , print ; otherwise, print .
ASSA
Yes
STOP
No
FFEE
Yes
FREE
No
提示
The length of is .
consists of uppercase English letters. consists of and which both appear twice in .
标签: AtCoder|abc132A
来源
AtCoder|abc132A