#!/usr/bin/python
#-*-coding:utf-8-*-
#cat test25_output.txt|python test30.py

import sys
from stemming.porter2 import stem

for line in sys.stdin:
    word = line[:-1].split('	')
    word_stem = stem(word[1])
    linedash = word[0]+"	"+word[1]+"	"+word_stem
    print linedash
c058f2c8b6d6a0902f5a1e668791de47fd2eeff1
#!/usr/bin/python
#-*-coding:utf-8-*-
#cat test25_output.txt|python test30.py

import sys
from stemming.porter2 import stem

for line in sys.stdin:
    word = line[:-1].split('	')
    word_stem = stem(word[1])
    linedash = word[0]+"	"+word[1]+"	"+word_stem
    print linedash