#!/usr/bin/python3
import sys
for line in sys.stdin:
line = line.split('\t')[6].split(' ')[-1]
print(line)