n=input().split(",")
print("a="+n[1][2:]+",""b="+n[0][2:])