This program replicates every line of standard input a specified number of times and writes the result to standard output. The replication factor is given on the command line.