#ABC472A. 只留 A / A
只留 A / A
Problem Statement
You are given a string consisting of uppercase English letters.
Output the string obtained by replacing every character in other than A with ..
Constraints
- is a string of length between and (inclusive) consisting of uppercase English letters.
Input
The input is given from Standard Input in the following format:
Output
Output the answer.
ATCODER
A......
Since the first character is the only occurrence of A in , output the string obtained by changing the second through seventh characters of to ..
BANANA
.A.A.A
may contain two or more occurrences of A.
CORRECT
.......
may contain no occurrence of A.
- Source: AtCoder ABC 472 A
相关
在下列比赛中: