Problem B
Good Messages

Boris works at a secret communication station for the
government training new employees on how to encode messages.
Messages at this station are encoded with a rotation (“Caesar”)
cipher that replaces each letter with one at a set offset in
the alphabet, e.g., for offset
Your job is to encode a given message and determine whether Boris will see fewer steps that annoy him than ones that don’t. Since Boris wants to be happy in his job he will give a message that annoys him too much to a colleague.
Input
The first line of the input contains a single integer
Output
Output ‘Boris’ if strictly more steps sound good than bad, and ‘Colleague’ otherwise.
Sample Input 1 | Sample Output 1 |
---|---|
1 thequickbrownfoxjumpedoverthelazydog 10 |
Boris |
Sample Input 2 | Sample Output 2 |
---|---|
4 banana 3 |
Colleague |