#include void solve() { bool ans = false; for (int i = 0; i < 3; ++i) { int x; std::cin >> x; if (x % 3 == 0) ans = true; } std::cout << (ans ? "Yes" : "No") << "\n"; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }