import sys readline=sys.stdin.readline write=sys.stdout.write A,B=readline().split("&") print(A,B)