⌨️
[AtCoder]ABC-067|A - Sharing Cookies
設問ページ
提出結果
def getIntMap():
return map(int, input().split())
def main():
a, b = getIntMap()
print('Possible' if a % 3 == 0 or b %
3 == 0 or (a + b) % 3 == 0 else 'Impossible')
if __name__ == "__main__":
main()
Discussion