let n = readLine()!.split(separator: " ").map{Int($0)!} var a = n[0] * n[1] % 3 print(a * n[2] % 3 == 0 ? "Yes" : "No")