Finding the Canonical Factorization of a Positive Integer

This program finds the canonical factorization of a positive integer.
Enter a (a positive integer):

Result
Canonical Factorization