1040 凑表达式


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

有一些整数组,每三个数成一组。如果三个数经过四则运算(+、-、×、÷)得出结果0,则输出“yes”,否则输出“no”。当三个数为全0时,表示输入结束。

Sample

Input

1 2 3
3 8 10
100 210 7
900 1 0
0 0 0

Output

yes
no
no
yes

Comments

There are no comments at the moment.