UVA12644 Vocabulary

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=602&page=show_problem&problem=4392 [PDF](https://uva.onlinejudge.org/external/126/p12644.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12644/1f9a42328255ab804b8880fb843c0c813f9d3696.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12644/0327338f0e03049bb03f93ac5dac6b310beae0f2.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12644/01f0a3f6707968023d306484b68ca07dcbce59c6.png)