100 atcoder#ABC215A. [ABC215A] Your First Judge
[ABC215A] Your First Judge
Score : points
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.
Hello,World!
AC
The string perfectly matches Hello,World!
.
Hello,world!
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!
.
Hello!World!
WA