It's springtime again in Unionville! Bob wants to get in shape before the summer break, so he has decided to start bench pressing!
In order to bench press, Bob will start with a pound barbell. He can then add a certain number (possibly
) of
pound plates to the barbell; however he must make sure that they come in pairs, or else the barbell won't be balanced!
Help Bob determine whether it's possible to create a weight of pounds!
Constraints
Input Specification
The first line contains the integer , the weight Bob wants to construct.
Output Specification
Output Let's go Bob!
if Bob can create a weight of pounds whilst adhering to the rules above, or
Rip Bob!
if he can't.
Sample Input 1
225
Sample Output 1
Let's go Bob!
Explanation for Sample 1
Bob can add two pairs of plates with a total weight of pounds. Adding these two to the
pound barbell would result in a
pound weight.
Sample Input 2
90
Sample Output 2
Rip Bob!
Explanation for Sample 2
Bob will start with a pound barbell. Subtracting this
from the desired
pounds, we are left with arranging the remaining
pounds using plates. Each plate weighs
pounds, meaning we would only need
plate to achieve our desired
pounds. However, plates must come in pairs, or else the barbell will not be balanced. Thus, it is impossible for Bob to construct such weight.
Comments