Ichthyologist Arsenii is conducting research on great white sharks. Great white sharks, recognized as symbols of might and elegance in the world of the ocean, are a subject of fascination and research for many scientists. Their grandeur, grace, and mysteriousness inspire research into every aspect of their lives.
Arsenii is fascinated not only by the mysteriousness of great white sharks, but also by the uniqueness of each of their teeth. For him, shark teeth are the key to deciphering the history associated with each individual animal.
At the very beginning of the research, Arsenii found out that a shark named Sylvester had 256 teeth, and every day Sylvester lost teeth, but on that same day new teeth grew in.
Write a program that determines how many teeth Sylvester will have after days.
The first line of the input contains the number . The second line contains the number . The third line contains the number .
Print a single number the number of teeth the shark Sylvester has after days.
1 \le N \le 10^9
1 \le A \le B \le 100
Example 1
Example 2