#!/usr/bin/env python

import sys

"""A filter that joins words 2 to 8 of each line (starting from 0)
and outputs them"""

while 1:
    line = sys.stdin.readline()
    if not line: break
    list = line.split()
    #    expr = "".join(list[2:9])
    expr = list[0]
    sys.stdout.write(expr+"\n")
