一个研究课题 A Research Problem
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1778
[PDF](https://uva.onlinejudge.org/external/108/p10837.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10837/e3dcf80ab6b6a69d63cdff1e061940bbc0fe2a76.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10837/f7cbb9fbde5e9fb81eda7703bcbb08f6cf94a29e.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10837/1a72060abebbb1dee35f9c3051bfa6d34359484b.png)
输入输出样例
输入样例 #1
12
24
2280960
5000000
0
输出样例 #1
Case 1: 12 13
Case 2: 24 35
Case 3: 2280960 2283989
Case 4: 5000000 6265625