UVA10422 Knights in FEN

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1363 [PDF](https://uva.onlinejudge.org/external/104/p10422.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10422/3265c846ddd580dc8afd2fafe2c8ca8fbadda0f2.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10422/79de21faaeeda46febda42dcd129a8d6ebda9c3d.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10422/29ff614ea5e7ef8dd5a6c7639777b352ed9b07ca.png)