5 lines
114 B
Python
Raw Permalink Normal View History

2023-12-01 13:35:13 +01:00
first = input().split("|")
second = input().split("|")
print(first[0] + second[0] + " " + first[1] + second[1])