UVA134 Loglan-A Logical Language

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=70 [PDF](https://uva.onlinejudge.org/external/1/p134.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA134/42b942f4ab05f04ad136a824d904b7eeacbc24d7.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA134/5304cf2bdec95d3fe2d0ed46e86ccda97781a254.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA134/4d204aea1c629b54b3de183d16984b0e50045356.png)