#P121. [KSC002C] 题号生成器
[KSC002C] 题号生成器
Source
This problem is proposed by Long Long OJ and . All rights reserved.
Problem Background
Can't remember problem numbers? You need a problem ID generator.
Problem Description
Create a problem ID generator. The first line is either CF or AT:
The second line contains an integer and a letter .
- If the first line is
CF, output the concatenation ofCF, , and ; - If the first line is
AT, output the concatenation ofAT, ,Contest_, and .
Input Format
The first line contains a string .
The second line contains an integer and a letter .
Output Format
See the problem description.
CF
1 A
CF1A
AT
1 A
AT1Contest_A
Data Range
For of the data:
- ,
- $id \in \{\texttt{1}, \texttt{2}, \ldots, \texttt{99}\}$,
- $ch \in \{\texttt{A}, \texttt{B}, \ldots, \texttt{Z}\}$.