Problem A
Blueberry Waffle
You are using a waffle maker machine to make a delicious blueberry waffle. One side of your waffle is covered in blueberries, while the other side is plain. Initially, the cooking pan of the waffle maker lies horizontally, and the blueberries are on the top side of the waffle. Once started, the cooking pan will rotate at a constant speed for a fixed duration, then stop. The cooking time is set so that when the waffle maker stops, the cooking pan will not be in a vertical position.
If the cooking pan is not horizontal after this time, the
waffle maker will return to a horizontal position via the
smallest rotation possible. Therefore, the waffle maker will
rotate less than
The pan rotates at a rate of 180 degrees every
![\includegraphics[width=0.35\textwidth ]{blueberry.png}](/problems/blueberrywaffle/file/statement/en/img-0001.png)
Input
The single line of input contains two integers
Output
Output a single line with a single string, which is up if the blueberry side of the waffle is up, or down otherwise.
Sample Input 1 | Sample Output 1 |
---|---|
10 20 |
up |
Sample Input 2 | Sample Output 2 |
---|---|
10 34 |
down |
Sample Input 3 | Sample Output 3 |
---|---|
10 47 |
down |