⌨️

[AtCoder]ABC-083|A - Libra

2023/01/10に公開

設問ページ

提出結果

def getIntMap():
    return map(int, input().split())


def main():
    a, b, c, d = getIntMap()
    e = a + b
    f = c + d

    print('Balanced' if e == f else 'Left' if e > f else 'Right')


if __name__ == "__main__":
    main()

Discussion