import sys for l in zip(*["%12s"%`c`[2::5].replace(" ","")for c in zip(*sys.stdin)]): if(" ",)*50