integer-factorization main.py reads numbers line-by-line from stdin and prints prime factors. Example usage, to generate ten random 25-digit numbers and then factorize them. echo "25 10" | python .\n-digits.py | python .\main.py