⌨️
[AtCoder]ABC-360|A Healthy Breakfast
設問ページ
提出結果
def getString():
return input()
def main():
S = getString()
print('Yes' if S.find('R') < S.find('M') else 'No')
if __name__ == "__main__":
main()
def getString():
return input()
def main():
S = getString()
print('Yes' if S.find('R') < S.find('M') else 'No')
if __name__ == "__main__":
main()
Discussion