A, B, C = map(int, input().split()) print(['No', 'Yes'][A*B*C % 3 == 0])