시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 512 MB | 8 | 5 | 3 | 50.000% |
Anton is so strong! All the programmers are in awe of his great biceps, wishing they could be just like him. The secret, he says, is to do a workout every single day, doing only bench press. However, you can not just go to the gym and hope for the best. No, to get biceps the size of watermelons (just like Anton) you need to know what particular weight you should work out with during each day.
Anton claims to use the following schedule. On his first day of training, Anton attempted to bench press $X$ micrograms. On each subsequent day, he used the following scheme. Assume that he on a particular day is due to lift $Y$ micrograms. If he succeeds, he will attempt to lift $Y + 25$ micrograms the next day. If he fails, he will instead reduce his attempted weight by $10\%$. The resulting weight will be rounded down to the nearest multiple of $25$ micrograms (the gym only provides weights that are multiples of $25$ micrograms). Note that it is possible for this new weight to be $0$.
You are a bit unsure if this is the scheme he is actually using. Maybe it is just a scam meant to waste the time of his lesser muscled ``friends''. As it happens, you know that Anton claims to have started bench pressing $K$ days ago, first attempting the weight $X$ micrograms. Today, he claims his schedule tells him to attempt lifting $Z$ micrograms. Your task is to determine if this could really be the case.
The first and only line of input consists of three integers, separated by spaces:
Both $X$ and $Z$ are divisble by $25$.
Output a single word: either liar
if Anton could not possibly attempt the given weight today if he has followed his schedule, or biceps
if his claims are consistent.
100 100 4
biceps
100 125 3
biceps
100 150 3
liar