Problem B
Das Blinkenlights

There are two lights that blink at regular intervals. When
each one blinks, it turns on and then immediately back off;
they don’t toggle. They are both off at time
![\includegraphics[width=0.8\textwidth ]{sample}](/problems/dasblinkenlights/file/statement/en/img-0002.png)
Input
Input consists of one line containing three space-separated
integers
Output
Output yes if the two lights blink on
the same second between time
Sample Input 1 | Sample Output 1 |
---|---|
2 5 20 |
yes |
Sample Input 2 | Sample Output 2 |
---|---|
4 3 11 |
no |