#!/usr/bin/env python3
import sys
out = sys.argv[-1]
with open(out, 'wb') as o:
for infile in sys.argv[1:-1]:
with open(infile, 'rb') as f:
o.write(f.read())