UVA13258 Romeo and Juliet Secrets

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=878&page=show_problem&problem=5181 [PDF](https://uva.onlinejudge.org/external/132/p13258.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13258/06a7aad65df5e1d43d26034cfd31915f0ff4cc33.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13258/93a9d21fa05157be7732baf0361cf9f87e2a4bcb.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13258/93dfed8f2a446d029dd1a6fa9699e0a31e2ce948.png)