

Time Limit: 2 sec / Memory Limit: 1024 MB
配点 : 100 点
問題文
高橋君は AtCoder Land を目指しています。 目の前に看板が置かれているので、ここが AtCoder Land であるかどうか判定したいです。
文字列 S,T が空白区切りで与えられます。
S= AtCoder
かつ T= Land
であるかどうか判定してください。
制約
- S,T は英大小文字からなる長さ 1 以上 10 以下の文字列
入力
入力は以下の形式で標準入力から与えられる。
S T
出力
S= AtCoder
かつ T= Land
であるならば Yes
を、そうでないならば No
を出力せよ。
入力例 1
AtCoder Land
出力例 1
Yes
S= AtCoder
かつ T= Land
です。
入力例 2
CodeQUEEN Land
出力例 2
No
S= AtCoder
ではありません。
入力例 3
aTcodeR lANd
出力例 3
No
大文字と小文字は区別します。
Score : 100 points
Problem Statement
Takahashi is heading to AtCoder Land. There is a signboard in front of him, and he wants to determine whether it says AtCoder Land.
You are given two strings S and T separated by a space.
Determine whether S= AtCoder
and T= Land
.
Constraints
- S and T are strings consisting of uppercase and lowercase English letters, with lengths between 1 and 10, inclusive.
Input
The input is given from Standard Input in the following format:
S T
Output
If S= AtCoder
and T= Land
, print Yes
; otherwise, print No
.
Sample Input 1
AtCoder Land
Sample Output 1
Yes
S= AtCoder
and T= Land
.
Sample Input 2
CodeQUEEN Land
Sample Output 2
No
S is not AtCoder
.
Sample Input 3
aTcodeR lANd
Sample Output 3
No
Uppercase and lowercase letters are distinguished.