Zipf's Law

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1067 [PDF](https://uva.onlinejudge.org/external/101/p10126.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10126/f48bc01c0f82e40db7a58eaddf4b0ff42d834711.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10126/1f2184ffea629247cb2a297df71559d945924abe.png)

输出格式


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

输入输出样例

输入样例 #1

2
In practice, the difference between theory and practice is always
greater than the difference between theory and practice in theory.
- Anonymous
Man will occasionally stumble over the truth, but most of the
time he will pick himself up and continue on.
- W. S. L. Churchill
EndOfText

输出样例 #1

between
difference
in
will