UVA12546 LCM Pair Sum

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=441&page=show_problem&problem=3991 [PDF](https://uva.onlinejudge.org/external/125/p12546.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12546/dae759af36786d6fd46c44594bce18d7fd456f62.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12546/3b26b08fbadc650b91c8d0cec558ee32fff50e25.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12546/3d8e063cc0991b6a7153ca53b9704129ee4e0c65.png)