If no argument is given, print factors from stdin