2023-12-01 13:35:13 +01:00

5 lines
114 B
Python

first = input().split("|")
second = input().split("|")
print(first[0] + second[0] + " " + first[1] + second[1])