To overcome the "number of files beforehand" and the "repetitive elements" problems of twalberg's fine awk program, I'd use the more verbose:
#!/usr/bin/python2
from sys import argv
# collect all lines from each file in their own set
sets = []
for path in argv[1:]:
with open(path) as infile:
s = set(infile.readlines())
sets.append(s)
# find the common items in all sets
common = sets[0]
for s in sets[1:]:
common = common.intersection(s)
# print the common items in the order they appear in the
# first file
with open(argv[1]) as infile:
for line in infile:
if line in common:
common.remove(line) # prevents duplicates
print line,