#SDNU1713. Takahashi san 2
Takahashi san 2
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
.
Related
In following contests: