⌨️

[AtCoder]ABC-377|A - Rearranging ABC

2024/11/07に公開

設問ページ

提出結果

def getString():
    return input()


def main():
    S = list(getString())

    S.sort()

    print("Yes" if "".join(S) == "ABC" else "No")


if __name__ == "__main__":
    main()

Discussion