#abc374a. A - Takahashi san 2
A - Takahashi san 2
Score : points
问题陈述
KEYENCE有一种文化,无论角色、年龄或职位如何,都以“-san”作为后缀来称呼每个人。
你得到了一个由小写英文字母组成的字符串 。
如果 以 san
结尾,打印 Yes
;否则,打印 No
。
以上为大语言模型 kimi 翻译,仅供参考。
Problem Statement
KEYENCE has a culture of addressing everyone with the suffix "-san," regardless of roles, age, or positions.
You are given a string consisting of lowercase English letters.
If ends with san
, print Yes
; otherwise, print No
.
Constraints
- is a string of length between and , inclusive, consisting of lowercase English letters.
Input
The input is given from Standard Input in the following format:
Output
If ends with san
, print Yes
; otherwise, print No
.
Sample Input 1
takahashisan
Sample Output 1
Yes
The string takahashisan
ends with san
, so print Yes
.
Sample Input 2
aokikun
Sample Output 2
No
The string aokikun
does not end with san
, so print No
.