题目描述
Problem Description
Space Takahashi is keeping the peace in the galaxy today, as always.
Space Takahashi has decided to compete with Space Aoki in a dance-off to combat the deteriorating galactic security.
Here's how it works:
Space Aoki utters words consisting of three types of words: Left, Right, and AtCoder.
Space Takahashi responds to Left with <, to Right with >, and to AtCoder with A.
Your task is to write a program to support Space Takahashi.
Given the words uttered by Space Aoki, create a program that displays the words Space Takahashi should utter.
Input Format
The input is given from the standard input in the following format:
$ S $
- The first line contains the string $ S $. Note that $ S $ may include spaces.
- The length of $ S $ is between 1 and 100 characters.
- $ S $ consists of several of the three types of words (
Left,Right,AtCoder) concatenated with a single space.
Output Format
Output to the standard output and ensure a newline at the end.
For $ S $, replace Left with <, Right with >, and AtCoder with A, and output the result in one line. Be careful not to include any extra spaces at the end of the line.
Sample Input and Output
Sample Input #1
Left Right AtCoder
Sample Output #1
< > A
Sample Input #2
Left Left Right Right AtCoder
Sample Output #2
< < > > A
Sample Input #3
Right Right AtCoder Left Left AtCoder
Sample Output #3
> > A < < A
Notes/Hints
None
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分