⌨️
[AtCoder]ABC-374|A - Takahashi san 2
設問ページ
提出結果
def getString():
return input()
def main():
S = getString()
print("Yes" if S[-3:] == "san" else "No")
if __name__ == "__main__":
main()
def getString():
return input()
def main():
S = getString()
print("Yes" if S[-3:] == "san" else "No")
if __name__ == "__main__":
main()
Discussion