#!/usr/bin/python
import sys
sys.path.append("..")

from torrenthelper.classify import classify
from torrenthelper import Config

files = [s.strip() for s in sys.stdin.readlines()]

actions = classify(files)

for action in actions:
    print action
