14992 - The Oracle's Altar
|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
| Case 4 |
1 sec |
32 MB |
Description

You approach an ancient, mystical altar that demands an offering number (n). The altar performs a sacred ritual based on the properties of your number before casting a divination:
The Transformation:
- First, the altar normalizes your offering to keep it within bounds: n = n mod 15 (if the result is 0, it becomes 15).
Example: n = 30.
Since 30 mod 15 is 0, then after normalization, n becomes 15.
- Next, if your updated number n is even, it is doubled (n = n × 2). If it is odd, it it squared (n = n2).
The Prophecy: Once the final value is determined, it is read against sacred numerical ranges to reveal your destiny:
- Range 1 (<= 50): "A shadow lingers near your path; proceed with caution."
- Range 2 (51 to 150): "Fortune favors your bold steps today."
- Range 3 (>150): "Great power brings unforeseen chaos; beware your ambitions."
Write a program to process the number and print the exact fortune message corresponding to the final value's range.
Input
The input consists of a single integer, n, representing your initial offering (1 <= n <= 100).
Output
Output the fortune message corresponding to the final calculated value's range.