str = input()
c,d = str.split(",")
e = c[2:]
f = d[2:]
print("a={}".format(f)+","+"b={}".format(e))