a,b = input().split(',')

c = int(a[2:])

a = int(b[2:])

b = c

print('a=%d,b=%d'%(a,b))