본문 바로가기
python-algorithm

[백준] 14219

by 무적김두칠 2021. 1. 14.

1
2
3
4
5
6
a,b=map(int,input().split())
cnt=0
if a%3!=0 : cnt+=1
if b%3!=0 : cnt+=1
if cnt==2:print("NO")
elseprint("YES")
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 14487  (0) 2021.01.14
[백준] 14471  (0) 2021.01.14
[백준] 13458  (0) 2021.01.14
[백준] 13420  (0) 2021.01.14
[백준] 13419  (0) 2021.01.14

댓글