UVA11038 How Many O's?

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=22&page=show_problem&problem=1979 [PDF](https://uva.onlinejudge.org/external/110/p11038.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11038/c9facf985a744b2b6458b571023a4a1a81ce80e2.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11038/19fee303f77bf4b4a63efa541191309a0f9e15f4.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11038/6d28799d8fa87e6a24c015d0086b462a2a9c1a88.png)