#abc215a. [abc215_a]Your First Judge
[abc215_a]Your First Judge
Problem Statement
Given a string , print AC
if it perfectly matches Hello,World!
; otherwise, print WA
.
What is a perfect match?Strings is said to perfectly match when the length of is equal to that of , and the -th character of is the same as the -th character of for every integer such that .
Constraints
- consists of English lowercase letters, English uppercase letters,
,
, and!
.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
Hello,World!
Sample Output 1
AC
The string perfectly matches Hello,World!
.
Sample Input 2
Hello,world!
Sample Output 2
WA
The seventh character from the beginning should be an uppercase W
in Hello,World!
, but has a lowercase w
in that position. Thus, does not match Hello,World!
.
Sample Input 3
Hello!World!
Sample Output 3
WA