⌨️

[AtCoder]ABC-360|A Healthy Breakfast

2024/08/19に公開

設問ページ

提出結果

def getString():
    return input()


def main():
    S = getString()

    print('Yes' if S.find('R') < S.find('M') else 'No')


if __name__ == "__main__":
    main()

Discussion