(a: str, b: str, c: str, d: str)
| 60 | |
| 61 | |
| 62 | def pretty2r(a: str, b: str, c: str, d: str) -> str: |
| 63 | if b in (c, d): |
| 64 | a, b = b, a |
| 65 | |
| 66 | if a == d: |
| 67 | c, d = d, c |
| 68 | |
| 69 | return f'{a} {b} {c} {d}' |
| 70 | |
| 71 | |
| 72 | def pretty2a(a: str, b: str, c: str, d: str) -> str: |