def check(): A, B, C = map(int, input().split()) if A*B*C%3==0: return 'Yes' return 'No' print(check())