#32227: python ans


yuxuan0912 (李毓萱Laura)


b=input()
a=input()
[print(a+',',x) for x in (b.split())]