import sys
#
for row in sys.stdin:
  col1, col2, col3 = row.rstrip().split('   ') #col1, col2, col3
  sys.stdout.write("{}\t{}\n".format(col1.rstrip(), col3.rstrip()))
#


ba571108d52ec3aba01989a4ce2c8d7a42da84ff
<mask token>

<mask token>
for row in sys.stdin:
    col1, col2, col3 = row.rstrip().split('   ')
    sys.stdout.write('{}\t{}\n'.format(col1.rstrip(), col3.rstrip()))

import sys
for row in sys.stdin:
    col1, col2, col3 = row.rstrip().split('   ')
    sys.stdout.write('{}\t{}\n'.format(col1.rstrip(), col3.rstrip()))

import sys
#
for row in sys.stdin:
  col1, col2, col3 = row.rstrip().split('   ') #col1, col2, col3
  sys.stdout.write("{}\t{}\n".format(col1.rstrip(), col3.rstrip()))
#

