
def input_gift_list( gift_filename ):
    with open(gift_filename) as filename:
    for line in filename :
            print(line.rstrip())
            number  = int( line.rstrip() )
            for i < number :
                line = filename.readline()
                i = i+1

def process_out(gift_output_filename ):
    pass

def dispatch_gift():
    pass

process_input( 'gift.in' )